public interface WktDecoder
In general WkbDecoder
implementations are not be thread-safe.
Modifier and Type | Method and Description |
---|---|
Geometry<?> |
decode(String wkt)
Decodes a WKT representation.
|
<P extends Position> |
decode(String wkt,
CoordinateReferenceSystem<P> crs)
Decodes a WKT representation using the specified (base)
CoordinateReferenceSystem . |
Geometry<?> decode(String wkt)
wkt
- the WKT string to decodeGeometry
WktDecodeException
- when the String is an invalid or unsupported WKT representation<P extends Position> Geometry<P> decode(String wkt, CoordinateReferenceSystem<P> crs)
CoordinateReferenceSystem
.P
- the Position type for the (base)wkt
- the WKT string to decodecrs
- the base coordinate reference system assumed for the wktGeometry
WktDecodeException
- when the String is an invalid or unsupported WKT representationCopyright © 2019 geolatte.org. All rights reserved.