9 #ifndef FMM_SRC_CONFIG_GPS_CONFIG_HPP_
10 #define FMM_SRC_CONFIG_GPS_CONFIG_HPP_
13 #include <boost/property_tree/ptree.hpp>
14 #include <boost/property_tree/xml_parser.hpp>
16 #include "cxxopts/cxxopts.hpp"
71 #endif //FMM_SRC_CONFIG_GPS_CONFIG_HPP_
std::string x
x field/column name
std::string y
y field/column name
bool validate() const
Validate the GPS configuration for file existence, parameter validation.
std::string id
id field/column name
bool gps_point
gps point stored or not
std::string geom
geometry field/column name
GPS configuration class for reading data from a file.
void print() const
Print members of the GPS configuration.
std::string timestamp
timestamp field/column name
int get_gps_format() const
Find the GPS format.
static GPSConfig load_from_xml(const boost::property_tree::ptree &xml_data)
Load GPSConfig from XML data.
static GPSConfig load_from_arg(const cxxopts::ParseResult &arg_data)
Load GPSConfig from argument parsed data.