Package ddf.util
Class WktStandard
java.lang.Object
ddf.util.WktStandard
WktStandard supports converting WKT into standard representations based on the WKT grammar in the
OpenGIS Simple Feature Access specification.
DDF normalizes MULTIPOINT geometries to the style defined by the WKT grammar. For example,
MULTIPOINT ((0 0), (10 10)) is in the normalized format. Some systems require a
different format of MULTIPOINT. The previous example would denormalize as
MULTIPOINT (0 0, 10 10)
-
Method Summary
-
Method Details
-
normalize
Normalize the given WKT to conform to the WKT grammar.- Parameters:
wkt- WKT to normalize- Returns:
- normalized WKT
-
denormalize
Denormalize the given WKT to support backwards compatibility.- Parameters:
wkt- wkt to denormalize- Returns:
- denormalized WKT
-