1.20 Spatial Java Application Programming Interface
Oracle Spatial provides a Java application programming interface (API) .
Note:
Effective with Oracle Database Release 23ai, the Oracle Spatial Java APIs are compiled with JDK 11 as the OJVM in the database supports JDK11. However, the APIs will continue to be supported on JDK8 for backwards compatibility. When using the API, ensure that all the related JAR files are consistent with the JDK version (JDK 8 or JDK 11) that is being used. See RDBMS and JDK Version Compatibility for Oracle JDBC Drivers for more information on the JDBC drivers that are supported for the different JDK versions.This API includes the following packages:
-
oracle.spatial.geometry
provides support for the Spatial SQL SDO_GEOMETRY data type, which is documented in this guide. -
oracle.spatial.georaster
provides support for the core GeoRaster features, which are documented in Oracle Spatial GeoRaster Developer's Guide. -
oracle.spatial.georaster.image
provides support for generating Java images from a GeoRaster object or subset of a GeoRaster object, and for processing the images. These features are documented in Oracle Spatial GeoRaster Developer's Guide. -
oracle.spatial.georaster.sql
provides support for wrapping the GeoRaster PL/SQL API, which is documented in Oracle Spatial GeoRaster Developer's Guide. -
oracle.spatial.network
provides support for the Oracle Spatial Network Data Model, which is documented in Oracle Spatial Topology and Network Data Model Developer's Guide. -
oracle.spatial.network.lod
provides support for the load-on-demand (LOD) approach of network analysis in the Oracle Spatial Network Data Model, which is documented in Oracle Spatial Topology and Network Data Model Developer's Guide. -
oracle.spatial.network.lod.config
provides support for the configuration of load-on-demand (LOD) network analysis in the Oracle Spatial Network Data Model, which is documented in Oracle Spatial Topology and Network Data Model Developer's Guide. -
oracle.spatial.topo
provides support for the Oracle Spatial topology data model, which is documented in Oracle Spatial Topology and Network Data Model Developer's Guide. -
oracle.spatial.util
provides classes that perform miscellaneous operations.
For detailed reference information about the classes and interfaces in these packages, see Oracle Spatial Java API Reference (Javadoc).
The Spatial Java class libraries are in
.jar
files under the <ORACLE_HOME>/md/jlib/
directory.
Parent topic: Spatial Concepts