Stores information on the METADATA section of a iCSV file.
#include <iCSVHelper.h>
|
| std::string | toString () const |
| |
| 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.
|
| |
|
| std::string | field_delimiter = "0" |
| | The field delimiter character (must be as string for libz).
|
| |
| std::string | geometry = "" |
| | The geometry information.
|
| |
| std::string | srid = "" |
| | The spatial reference system identifier.
|
| |
| std::string | station_id = "" |
| | The station identifier.
|
| |
| std::string | timestamp_meaning = "" |
| | The meaning of the timestamp.
|
| |
| std::string | doi = "" |
| | The Digital Object Identifier.
|
| |
| double | nodata = default_nodata |
| | The nodata value.
|
| |
| double | timezone = default_nodata |
| | The timezone value.
|
| |
| int | epsg = -1 |
| | The EPSG code.
|
| |
| std::map< std::string, std::string > | optional_metadata = {} |
| | The optional metadata.
|
| |
| const std::vector< std::string > | valid_delimiters = {",", "/", "\\", "|", ":", ";"} |
| | The valid delimiters.
|
| |
◆ 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.
◆ toString()
| std::string mio::iCSV::MetaDataSection::toString |
( |
| ) |
const |
|
inline |
◆ doi
| std::string mio::iCSV::MetaDataSection::doi = "" |
The Digital Object Identifier.
◆ epsg
| int mio::iCSV::MetaDataSection::epsg = -1 |
◆ field_delimiter
| std::string mio::iCSV::MetaDataSection::field_delimiter = "0" |
The field delimiter character (must be as string for libz).
◆ 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<std::string> mio::iCSV::MetaDataSection::valid_delimiters = {",", "/", "\\", "|", ":", ";"} |
The documentation for this struct was generated from the following file: