|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Interface Summary | |
|---|---|
| Formattable | Interface for objects that can be formatted as Well Known Text (WKT). |
| Class Summary | |
|---|---|
| Colors | The colors to use for formatting Well Known Text (WKT) objects. |
| FormattableObject | Base class for objects formattable as Well Known Text (WKT). |
| Formatter | Formats formattable objects as Well Known Text (WKT). |
| MathTransformParser | Well Known Text (WKT) parser for math transforms. |
| Parser | Parses Well Known Text (WKT). |
| PrjFiles | Parses and formats PRJ files. |
| ReferencingParser | Well Known Text (WKT) parser for referencing objects. |
| Symbols | The set of symbols to use for Well Known Text (WKT) parsing and formatting. |
| WKTFormat | Parser and formatter for Well Known Text (WKT) objects. |
| Enum Summary | |
|---|---|
| Colors.Element | Keys for syntatic elements to be colorized. |
| Exception Summary | |
|---|---|
| UnformattableObjectException | Thrown by FormattableObject.toWKT() when an object can't be formatted as WKT. |
Well Known Text (WKT) parsing and formatting. This package provides the internal mechanism used by Geotk implementation. Most users don't need to know about it, except if they want to customize the WKT output. For example it is possible to:
DATUM("WGS84") instead than
DATUM["WGS84"]. This is legal WKT, even if less frequent than square brackets.Current implementation is primarily targeting parsing and formatting of referencing objects. However other WKT formats (especially the one for geometric objects) are expected to be provided here in future versions.
Referencing WKT
Parsing of CoordinateReferenceSystem and
MathTransform objects are performed
by the ReferencingParser class. The parser provides
methods for:
AXIS[...] elements, which may be used as a way to force
the (longitude, latitude) axes order.
Geometry WKT
The GeneralEnvelope and
GeneralDirectPosition classes provide their own, limited,
WKT parsing and formatting services for the BOX and POINT elements.
References
| referencing/geotk-referencing (download) |
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||