Stores information on the METADATA section of a iCSV file.
#include <iCSVHelper.h>
|
void | setEPSG (const int &in_epsg) |
| Set the EPSG code and update the SRID.
|
|
std::string | getOptionalMetaData (const std::string &key) const |
| Get the value of an optional metadata field.
|
|
std::map< std::string, std::string > | toMetaMap () const |
| Convert the metadata section to a map.
|
|
std::map< std::string, std::string > | toOutputMap () const |
| Convert the metadata section to an output map.
|
|
◆ getOptionalMetaData()
std::string mio::iCSV::MetaDataSection::getOptionalMetaData |
( |
const std::string & |
key | ) |
const |
|
inline |
Get the value of an optional metadata field.
- Parameters
-
key | The key of the optional metadata field. |
- Returns
- The value of the optional metadata field.
◆ setEPSG()
void mio::iCSV::MetaDataSection::setEPSG |
( |
const int & |
in_epsg | ) |
|
|
inline |
Set the EPSG code and update the SRID.
- Parameters
-
◆ toMetaMap()
std::map< std::string, std::string > mio::iCSV::MetaDataSection::toMetaMap |
( |
| ) |
const |
|
inline |
Convert the metadata section to a map.
- Returns
- The metadata section as a map.
◆ toOutputMap()
std::map< std::string, std::string > mio::iCSV::MetaDataSection::toOutputMap |
( |
| ) |
const |
|
inline |
Convert the metadata section to an output map.
- Returns
- The metadata section as an output map.
◆ doi
std::string mio::iCSV::MetaDataSection::doi = "" |
The Digital Object Identifier.
◆ epsg
int mio::iCSV::MetaDataSection::epsg = -1 |
◆ field_delimiter
char mio::iCSV::MetaDataSection::field_delimiter = '0' |
The field delimiter character.
◆ geometry
std::string mio::iCSV::MetaDataSection::geometry = "" |
The geometry information.
◆ nodata
◆ optional_metadata
std::map<std::string, std::string> mio::iCSV::MetaDataSection::optional_metadata = {} |
◆ srid
std::string mio::iCSV::MetaDataSection::srid = "" |
The spatial reference system identifier.
◆ station_id
std::string mio::iCSV::MetaDataSection::station_id = "" |
◆ timestamp_meaning
std::string mio::iCSV::MetaDataSection::timestamp_meaning = "" |
The meaning of the timestamp.
◆ timezone
◆ valid_delimiters
const std::vector<char> mio::iCSV::MetaDataSection::valid_delimiters = {',', '/', '\\', '|', ':', ';'} |
The documentation for this struct was generated from the following file: