MySQL 9.1.0
Source Code Documentation
|
Classes | |
struct | Authority |
struct | Axis |
struct | Datum |
struct | Geographic_cs |
struct | Prime_meridian |
struct | Projected_cs |
struct | Projection |
struct | Projection_parameter |
struct | Spheroid |
struct | Towgs84 |
struct | Twin_axes |
struct | Unit |
Typedefs | |
typedef std::string | String |
String type used in the parse tree. More... | |
typedef std::vector< Projection_parameter > | Projection_parameters |
typedef boost::variant< Projected_cs, Geographic_cs > | Coordinate_system |
Functions | |
bool | parse_wkt (srid_t srid, const char *begin, const char *end, Coordinate_system *cs) |
Parse an SRS definition WKT string. More... | |
typedef boost::variant<Projected_cs, Geographic_cs> gis::srs::wkt_parser::Coordinate_system |
typedef std::vector<Projection_parameter> gis::srs::wkt_parser::Projection_parameters |
typedef std::string gis::srs::wkt_parser::String |
String type used in the parse tree.
bool gis::srs::wkt_parser::parse_wkt | ( | srid_t | srid, |
const char * | begin, | ||
const char * | end, | ||
Coordinate_system * | cs | ||
) |
Parse an SRS definition WKT string.
The parser understands WKT as defined by the <horz cs> specification in OGC 01-009.
[in] | srid | Spatial reference system ID to use when reporting errors |
[in] | begin | Start of WKT string in UTF-8 |
[in] | end | End of WKT string in UTF-8 |
[out] | cs | Coordinate system |
true | An error has occurred |
false | Success |