Oracle Spatial and Graph
Spatial Features - Sample Code

Unless explicitly identified as such, the sample code here is not certified or supported by Oracle; it is intended for educational or testing purposes only. 

You must accept the License Agreement to download this sample code.
Accept License Agreement | Decline License Agreement
Name Created/Modified Description Download
Oracle Spatial Network Data Model Tutorial 2015-01-09 This tutorial outlines the steps required to set up and configure a network, and conduct the analysis. Sample pieces of code that illustrate the usage of the analytic functions are provided.
Sample Code in Java to Load Images into GeoRaster Objects 2011-10-13 This sample code provides an example on how to write a loader (inAdaptor) for the GeoRaster feature of Oracle Spatial to upload external image/raster files into an Oracle Spatial GeoRaster object.
GDAL-based GeoRaster Concurrent Batch Loading and Exporting Wizard 2015-06-18 This tool provides a wizard to help automatically create GDAL batch loading and exporting description files (XML) and then through this tool users can concurrently run those files to load and export raster files in batches. It supports all raster formats supported by GDAL. Refer to the User's Guide for details.
Sample Code in C/OCI to Access GeoRaster Objects 2010-10-13 This program first performs a spatial search on georaster.spatialextent to get back a candidate set of georaster objects. (Paragraph) For each georaster returned, program performs a sdo_geor.getRasterSubset. (Paragraph) This is only an example application. You could modify this example to build a pick list from the georaster.spatialextent search, and only call sdo_geor.getRasterSubset when a user picks a georaster from your list.
For Graph Features sample code visit the Graph Features page.