27 #include "../common/Translator.h"
35 const std::string s(wkt);
37 std::string::const_iterator beginS = s.begin();
38 std::string::const_iterator endS = s.end();
40 bool isValid = phrase_parse(beginS, endS, parser, boost::spirit::ascii::space);
43 throw Exception(
TE_TR(
"Invalid SRS WKT - parsing failed!"));
#define TE_TR(message)
It marks a string in order to get translated.
An exception class for the SRS module.
A Spatial Reference System, also known as a Coordinate System.
static SpatialReferenceSystem * read(const char *wkt)
It returns a valid SRS from a given WKT.
SpatialReferenceSystem * getSRS()
It returns the SRS generated by the parser process.
A class that implements the Grammar Rules for well known text (WKT) format of Spatial Reference Syste...