new module:org/locationtech/jts/io/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
read(wkt) → {Geometry}
Reads a Well-Known Text representation of a Geometry
Parameters:
Name | Type | Description |
---|---|---|
wkt |
string | a |
Returns:
a Geometry
read from
string.
- Type
- Geometry