B.5 GeoRaster REST API Demonstration Web Page

A demonstration web page is included with the Spatial Web Services deployment file.

It acts as an example to show how you can use AJAX request to invoke GeoRaster functionality through RESTful calls. You can access this web page in your browser using the following URL:

http://<system-name>:<port>/oraclespatial/geor_rest_demo.html

The demonstration web page comprises two sections:

  • On the left section of the page, you can select a data source and provide your credentials in order to perform the following actions:
    • List tables
    • Discover GeoRaster objects
    • Display GeoRaster metadata
    • Generate images from a GeoRaster
    • Invoke GeoRaster procedures
    • Create Virtual Mosaics
    • Import/Export Rasters
  • The right section of the page displays the Network Activity where you can view the following:
    • Endpoint URL
    • Request body
    • HTTP response headers
    • HTTP Response body

The Network Activity section allows you to modify any request and send it to the server. It gives you access to all endpoints and parameters of the GeoRaster REST API.