1.20 Spatial Java Application Programming Interface
Oracle Spatial provides a Java application programming interface (API) .
Note:
Effective with Oracle AI Database 26ai, 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.geometryprovides support for the Spatial SQL SDO_GEOMETRY data type, which is documented in this guide. -
oracle.spatial.georasterprovides support for the core GeoRaster features, which are documented in Oracle Spatial GeoRaster Developer's Guide. -
oracle.spatial.georaster.imageprovides 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.sqlprovides support for wrapping the GeoRaster PL/SQL API, which is documented in Oracle Spatial GeoRaster Developer's Guide. -
oracle.spatial.networkprovides 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.lodprovides 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.configprovides 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.topoprovides support for the Oracle Spatial topology data model, which is documented in Oracle Spatial Topology and Network Data Model Developer's Guide. -
oracle.spatial.utilprovides 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