WKT parser class; see also WKTWriter.
More...
#include <WKTReader.h>
|
| WKTReader (const geom::GeometryFactory &gf) |
| Initialize parser with given GeometryFactory. More...
|
|
| WKTReader (const geom::GeometryFactory *gf) |
|
| WKTReader () |
| Initialize parser with default GeometryFactory.
|
|
void | setFixStructure (bool doFixStructure) |
|
template<typename T > |
std::unique_ptr< T > | read (const std::string &wkt) const |
| Parse a WKT string returning a Geometry.
|
|
std::unique_ptr< geom::Geometry > | read (const std::string &wellKnownText) const |
|
|
std::unique_ptr< geom::CoordinateSequence > | getCoordinates (io::StringTokenizer *tokenizer) const |
|
std::unique_ptr< geom::Geometry > | readGeometryTaggedText (io::StringTokenizer *tokenizer) const |
|
std::unique_ptr< geom::Point > | readPointText (io::StringTokenizer *tokenizer) const |
|
std::unique_ptr< geom::LineString > | readLineStringText (io::StringTokenizer *tokenizer) const |
|
std::unique_ptr< geom::LinearRing > | readLinearRingText (io::StringTokenizer *tokenizer) const |
|
std::unique_ptr< geom::MultiPoint > | readMultiPointText (io::StringTokenizer *tokenizer) const |
|
std::unique_ptr< geom::Polygon > | readPolygonText (io::StringTokenizer *tokenizer) const |
|
std::unique_ptr< geom::MultiLineString > | readMultiLineStringText (io::StringTokenizer *tokenizer) const |
|
std::unique_ptr< geom::MultiPolygon > | readMultiPolygonText (io::StringTokenizer *tokenizer) const |
|
std::unique_ptr< geom::GeometryCollection > | readGeometryCollectionText (io::StringTokenizer *tokenizer) const |
|
|
static double | getNextNumber (io::StringTokenizer *tokenizer) |
|
static std::string | getNextEmptyOrOpener (io::StringTokenizer *tokenizer, std::size_t &dim) |
|
static std::string | getNextCloserOrComma (io::StringTokenizer *tokenizer) |
|
static std::string | getNextCloser (io::StringTokenizer *tokenizer) |
|
static std::string | getNextWord (io::StringTokenizer *tokenizer) |
|
WKT parser class; see also WKTWriter.
◆ WKTReader() [1/2]
Initialize parser with given GeometryFactory.
Note that all Geometry objects created by the parser will contain a pointer to the given factory so be sure you'll keep the factory alive for the whole WKTReader and created Geometry life.
◆ WKTReader() [2/2]
The documentation for this class was generated from the following file: