#include <geos.h>
Public Member Functions | |
WKTReader (const GeometryFactory *gf) | |
Inizialize parser with given GeometryFactory. | |
Geometry * | read (string wellKnownText) |
Parse a WKT string returning a Geometry. |
geos::WKTReader::WKTReader | ( | const GeometryFactory * | gf | ) |
Inizialize 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.