1#ifndef SQL_GIS_SRS_WKT_PARSER_H_INCLUDED
2#define SQL_GIS_SRS_WKT_PARSER_H_INCLUDED
30#include <boost/variant/variant.hpp>
Definition: commit_order_queue.h:34
bool parse_wkt(srid_t srid, const char *begin, const char *end, Coordinate_system *cs)
Parse an SRS definition WKT string.
std::vector< Projection_parameter > Projection_parameters
Definition: wkt_parser.h:140
boost::variant< Projected_cs, Geographic_cs > Coordinate_system
Definition: wkt_parser.h:152
std::string String
String type used in the parse tree.
Definition: wkt_parser.h:40
Axis_direction
Coordinate axis direction.
Definition: srs.h:86
std::uint32_t srid_t
A spatial reference system ID (SRID).
Definition: srid.h:33
Definition: wkt_parser.h:42
Authority()
Definition: wkt_parser.h:47
bool valid
Definition: wkt_parser.h:43
String code
Definition: wkt_parser.h:45
String name
Definition: wkt_parser.h:44
Definition: wkt_parser.h:103
Axis()
Definition: wkt_parser.h:107
Axis_direction direction
Definition: wkt_parser.h:105
String name
Definition: wkt_parser.h:104
Definition: wkt_parser.h:80
Towgs84 towgs84
Definition: wkt_parser.h:83
Spheroid spheroid
Definition: wkt_parser.h:82
Authority authority
Definition: wkt_parser.h:84
String name
Definition: wkt_parser.h:81
Definition: wkt_parser.h:118
Authority authority
Definition: wkt_parser.h:124
Datum datum
Definition: wkt_parser.h:120
String name
Definition: wkt_parser.h:119
Prime_meridian prime_meridian
Definition: wkt_parser.h:121
Twin_axes axes
Definition: wkt_parser.h:123
Unit angular_unit
Definition: wkt_parser.h:122
Definition: wkt_parser.h:87
double longitude
Definition: wkt_parser.h:89
Prime_meridian()
Definition: wkt_parser.h:92
String name
Definition: wkt_parser.h:88
Authority authority
Definition: wkt_parser.h:90
Definition: wkt_parser.h:142
Projection projection
Definition: wkt_parser.h:145
Projection_parameters parameters
Definition: wkt_parser.h:146
Geographic_cs geographic_cs
Definition: wkt_parser.h:144
String name
Definition: wkt_parser.h:143
Twin_axes axes
Definition: wkt_parser.h:148
Authority authority
Definition: wkt_parser.h:149
Unit linear_unit
Definition: wkt_parser.h:147
Definition: wkt_parser.h:132
Projection_parameter()
Definition: wkt_parser.h:137
double value
Definition: wkt_parser.h:134
String name
Definition: wkt_parser.h:133
Authority authority
Definition: wkt_parser.h:135
Definition: wkt_parser.h:127
Authority authority
Definition: wkt_parser.h:129
String name
Definition: wkt_parser.h:128
Definition: wkt_parser.h:50
String name
Definition: wkt_parser.h:51
double inverse_flattening
Definition: wkt_parser.h:53
Authority authority
Definition: wkt_parser.h:54
Spheroid()
Definition: wkt_parser.h:56
double semi_major_axis
Definition: wkt_parser.h:52
Definition: wkt_parser.h:59
double dy
Definition: wkt_parser.h:62
double ppm
Definition: wkt_parser.h:67
double ez
Definition: wkt_parser.h:66
double ey
Definition: wkt_parser.h:65
double dz
Definition: wkt_parser.h:63
Towgs84()
Definition: wkt_parser.h:69
bool valid
Definition: wkt_parser.h:60
double ex
Definition: wkt_parser.h:64
double dx
Definition: wkt_parser.h:61
Definition: wkt_parser.h:110
Axis x
Definition: wkt_parser.h:112
bool valid
Definition: wkt_parser.h:111
Axis y
Definition: wkt_parser.h:113
Twin_axes()
Definition: wkt_parser.h:115
Definition: wkt_parser.h:95
Unit()
Definition: wkt_parser.h:100
double conversion_factor
Definition: wkt_parser.h:97
Authority authority
Definition: wkt_parser.h:98
String name
Definition: wkt_parser.h:96