Class Parser

Class Documentation

class Parser

Class to parse files of the OGC Standards to our custom format.

Public Static Functions

static void importGml(const std::string &file, F2CFields &fields)

Function to import file with gml extension.

Parameters:
  • file – Path to the imported file.

  • fields – Set of fields saved on _file.

static F2CField importFieldGml(const std::string &file, bool fail_silently = false)
static int importJson(const std::string &file, F2CFields &fields)

Function to import file with Json extension.

Parameters:
  • file – Path to the imported file.

  • fields – Set of fields saved on _file.

Returns:

return 0 if the file was parsed correctly. Otherwise, return a negative number.

static F2CCell importCellJson(const std::string &file)
static F2CSwaths importSwathsJson(const std::string &file)
static F2CStrips importStripsJson(const std::string &file)