Class: WKTReader

WKTReader

new WKTReader(geometryFactory)

A WKTReader is parameterized by a GeometryFactory, to allow it to create Geometry objects of the appropriate implementation. In particular, the GeometryFactory determines the PrecisionModel and SRID that is used.

Parameters:
Name Type Description
geometryFactory GeometryFactory

Methods

(static) read(wkt) → {Geometry}

Reads a Well-Known Text representation of a Geometry

Parameters:
Name Type Description
wkt string

a string (see the OpenGIS Simple Features Specification).

Returns:

a Geometry read from string.

Type
Geometry