Overview of the Java API
The Java™ API library is implemented in a package called com.ibm.spatial.
Within the main package, SpatialManager is a class that contains static convenience methods to facilitate error reporting and logging.
Within the srs subpackage, the CoordRefManager class provides methods to create and handle CoordRef objects, which hold definitions of spatial reference systems. For more information about the SpatialManager and CoordRefManager classes, see The SpatialManager Class and The CoordRefManager Class.
The subpackages of com.ibm.spatial are:
- geom (geometry objects)
- The geometry package implements the OGC Geometry Model.
- io (geometry input/output)
- The geometry input/output package provides a reader/writer framework and implements readers and writers for the spatial data.
- msg (localizable messages)
- The localizable messages package contains localizable error messages in ListResourceBundle format.
- srs (coordinate reference classes)
- The coordinate reference package provides classes necessary to manage coordinate reference objects.
- util (utility classes)
- The utility package contains utility classes, for error and warning message generation, logging, and so on. A logging API similar to that specified by J2SDK 1.4 is implemented, allowing for an easy transition to using the JDK logging classes.