Interface | Description |
---|---|
Parser |
A parser or a factory capable to create an object from a string in the WKT format.
|
Class | Description |
---|---|
Colors |
The colors to use for formatting Well Known Text (WKT) objects.
|
FormattableObject |
Base class for objects that can be formatted as Well Known Text (WKT).
|
Formatter |
Provides support methods for formatting a Well Known Text (WKT).
|
Symbols |
The set of symbols to use for Well Known Text (WKT) parsing and formatting.
|
Transliterator |
Controls the replacement of characters, abbreviations and names between the objects in memory and their
WKT representations.
|
Warnings |
Warnings that occurred during a Well Known Text (WKT) parsing or formatting.
|
WKTFormat |
Parser and formatter for Well Known Text (WKT) strings.
|
Enum | Description |
---|---|
Convention |
The convention to use for WKT formatting.
|
ElementKind |
Kind of an element in a Well Known Text.
|
KeywordCase |
Whether WKT keywords shall be written with lower, upper or camel case styles.
|
KeywordStyle |
Whether to use short or long WKT keywords.
|
Exception | Description |
---|---|
UnformattableObjectException |
Thrown by
FormattableObject.toWKT() when an object can not be formatted as WKT. |
CRS.fromWKT(String)
(SIS parsing static method)CRSFactory.createFromWKT(String)
(GeoAPI parsing method)MathTransformFactory.createFromWKT(String)
(GeoAPI parsing method)IdentifiedObject.toWKT()
(GeoAPI formatting method)WKTFormat
class provided in this package gives more control.
For example this package allows to:
"Mercator_1SP"
by OGC 01-009 and "CT_Mercator"
by GeoTIFF.ID["EPSG",4326]
and ID("EPSG",4326)
are legal WKT.AXIS[…]
elements at parsing time.Convention
enumeration.
GeneralEnvelope
and GeneralDirectPosition
classes
provide their own, limited, WKT parsing and formatting services for the BOX
and POINT
elements.
A description for this WKT format can be found on Wikipedia.
3395
by the EPSG code of the desired CRS):
Example: "WGS 84 / World Mercator": http://epsg-registry.org/export.htm?wkt=urn:ogc:def:crs:EPSG::3395Readers should be aware that some popular other sources of WKT are actually invalid, since many of them do not comply with EPSG definitions (especially on axis order). The above-cited EPSG registry is the authoritative source of CRS definitions in the EPSG namespace.
Defined in the sis-metadata
module
Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.