Package org.geotoolkit.io.wkt

Well Known Text (WKT) parsing and formatting.

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.
 

Package org.geotoolkit.io.wkt Description

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:

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:

  • Specifying whatever the default axis names shall be ISO identifiers or the legacy identifiers specified in the WKT specification.
  • Ignoring the 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

    Since:
    2.0
    Version:
    3.18
    Author:
    Martin Desruisseaux (IRD, Geomatys), Rémi Eve (IRD), Rueben Schulz (UBC)
    Module:
    referencing/geotk-referencing (download)


    Copyright © 2009-2011 Geotoolkit.org. All Rights Reserved.