|
MeteoIODoc 20260811.aeb9aef5
Environmental timeseries pre-processing
|
Classes | |
| struct | fieldsSection |
| Stores Information on the FIELDS section of a iCSV file. More... | |
| struct | geoLocation |
| Represents a geographic location extracted from iCSV files. (POINT(X Y)...) More... | |
| class | iCSVFile |
| This class is responsible for handling and storing iCSV files. More... | |
| struct | MetaDataSection |
| Stores information on the METADATA section of a iCSV file. More... | |
Functions | |
| static bool | isValidFirstLine (const std::string &firstline) |
| static std::vector< double > | extractMatches (const std::string &match) |
| Extracts numeric coordinates from a geometry string. | |
| static geoLocation | extractLastPointFromGeometry (const std::string &geometry, const std::regex &pattern, const bool &has_Z) |
| Extracts the last point from a WKT geometry string. | |
| static std::string | extractEpsgCode (const std::string &epsgStr) |
| Extracts the EPSG code from a string in the format "EPSG:XXXX". | |
| static bool | isValidEpsgCode (const std::string &epsgStr) |
| std::vector< double > | convertVector (const std::vector< std::string > &vec) |
| std::vector< Coords > | convertVector (const std::vector< geoLocation > &vec, const int &epsg) |
| geoLocation | toiCSVLocation (Coords loc, const int &epsg) |
| geoLocation | extractCoordinates (const std::string &geometry) |
| Extracts a geoLocation object from a WKT geometry string. | |
| bool | operator== (const geoLocation &lhs, const geoLocation &rhs) |
| bool | operator!= (const geoLocation &lhs, const geoLocation &rhs) |
| bool | operator== (const MetaDataSection &lhs, const MetaDataSection &rhs) |
| bool | roughlyEqual (const MetaDataSection &lhs, const MetaDataSection &rhs) |
| Checks if two MetaDataSection objects are roughly equal. | |
| MetaDataSection & | operator+= (MetaDataSection &lhs, const MetaDataSection &rhs) |
| bool | operator== (const fieldsSection &lhs, const fieldsSection &rhs) |
| bool | roughlyEqual (const fieldsSection &lhs, const fieldsSection &rhs) |
| Checks if two fieldsSection objects are roughly equal. | |
| fieldsSection & | operator+= (fieldsSection &lhs, const fieldsSection &rhs) |
| std::vector< Coords > mio::iCSV::convertVector | ( | const std::vector< geoLocation > & | vec, |
| const int & | epsg | ||
| ) |
| std::vector< double > mio::iCSV::convertVector | ( | const std::vector< std::string > & | vec | ) |
Converts a vector of strings to a vector of doubles.
| vec | The vector of strings to be converted. |
| geoLocation mio::iCSV::extractCoordinates | ( | const std::string & | geometry | ) |
Extracts a geoLocation object from a WKT geometry string.
| geometry | WKT geometry string (e.g., "POINT(1 2)", "POINTZ(1 2 3)") |
|
static |
Extracts the EPSG code from a string in the format "EPSG:XXXX".
| epsgStr | The string containing the EPSG code. |
|
static |
Extracts the last point from a WKT geometry string.
| geometry | The WKT geometry string (e.g., "POINT(1 2)" or "POINTZ(1 2 3)"). |
| pattern | The compiled regex pattern to match the geometry type. |
| has_Z | Whether the geometry includes a Z (elevation) coordinate. |
|
static |
Extracts numeric coordinates from a geometry string.
| match | The string to extract coordinates from. |
|
static |
|
static |
Checks if the first line of iCSV data is conforming to the standard.
| firstline | The first line of iCSV data. |
| InvalidFormatException | if the header values don't match the expected iCSV format. |
| bool mio::iCSV::operator!= | ( | const geoLocation & | lhs, |
| const geoLocation & | rhs | ||
| ) |
| fieldsSection & mio::iCSV::operator+= | ( | fieldsSection & | lhs, |
| const fieldsSection & | rhs | ||
| ) |
| MetaDataSection & mio::iCSV::operator+= | ( | MetaDataSection & | lhs, |
| const MetaDataSection & | rhs | ||
| ) |
| bool mio::iCSV::operator== | ( | const fieldsSection & | lhs, |
| const fieldsSection & | rhs | ||
| ) |
| bool mio::iCSV::operator== | ( | const geoLocation & | lhs, |
| const geoLocation & | rhs | ||
| ) |
| bool mio::iCSV::operator== | ( | const MetaDataSection & | lhs, |
| const MetaDataSection & | rhs | ||
| ) |
| bool mio::iCSV::roughlyEqual | ( | const fieldsSection & | lhs, |
| const fieldsSection & | rhs | ||
| ) |
Checks if two fieldsSection objects are roughly equal.
| lhs | The first MetaDataSection object. |
| rhs | The second MetaDataSection object. |
| bool mio::iCSV::roughlyEqual | ( | const MetaDataSection & | lhs, |
| const MetaDataSection & | rhs | ||
| ) |
Checks if two MetaDataSection objects are roughly equal.
| lhs | The first MetaDataSection object. |
| rhs | The second MetaDataSection object. |
| geoLocation mio::iCSV::toiCSVLocation | ( | Coords | loc, |
| const int & | epsg | ||
| ) |
Converts the given Coords object to a geoLocation object.