Class: module:org/locationtech/jts/io/WKTWriter

module:org/locationtech/jts/io/WKTWriter(geometryFactory)

new module:org/locationtech/jts/io/WKTWriter(geometryFactory)

Parameters:
Name Type Description
geometryFactory GeometryFactory
Source:

Methods

write(geometry) → {string}

Converts a Geometry to its Well-known Text representation.

Parameters:
Name Type Description
geometry Geometry

a Geometry to process.

Source:
Returns:

a string (see the OpenGIS Simple Features Specification).

Type
string