Execute SDO_GEOR_RA Package Functions

post

{server}/georaster/v1/{datasource}/sdo_geor_ra/{functionName}

Execute MDSYS.SDO_GEOR_RA package functions with the specified function names. The parameters to the function is specified in the request body in JSON. See Spatial GeoRaster Developer's Guide for the usage of each function and its parameters.

Request

Path Parameters
  • The name of the functions in SDO_GEOR_RA package
    Allowed Values: [ "classify", "diff", "findcells", "isoverlap", "over", "rastermathop", "rasterupdate", "stack" ]
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Match One Schema
Show Source
Nested Schema : classify_param
Match One Schema
Show Source
Nested Schema : diff_param
Match One Schema
Show Source
Nested Schema : findcells_param
Match One Schema
Show Source
Nested Schema : isoverlap_param
Match One Schema
Show Source
Nested Schema : over_param
Match One Schema
Show Source
Nested Schema : rastermathop_param
Match One Schema
Show Source
Nested Schema : rasterupdate_param
Match One Schema
Show Source
Nested Schema : stack_param
Match One Schema
Show Source
Nested Schema : classify_param_1
Type: object
Show Source
Nested Schema : classify_param_2
Type: object
Show Source
Nested Schema : classify_param_3
Type: object
Show Source
Nested Schema : classify_param_4
Type: object
Show Source
Nested Schema : sdo_number_array
Type: array
Show Source
Nested Schema : sdo_georaster_array
Type: array
Show Source
Nested Schema : sdo_georaster
Type: object
Show Source
Nested Schema : sdo_geometry
Type: object
Show Source
Nested Schema : diff_param_1
Type: object
Show Source
Nested Schema : diff_param_2
Type: object
Show Source
Nested Schema : findcells_param_1
Type: object
Show Source
Nested Schema : findcells_param_2
Type: object
Show Source
Nested Schema : isoverlap_param_1
Type: object
Show Source
Nested Schema : isoverlap_param_2
Type: object
Show Source
Nested Schema : over_param_1
Type: object
Show Source
Nested Schema : over_param_2
Type: object
Show Source
Nested Schema : rastermathop_param_1
Type: object
Show Source
Nested Schema : rastermathop_param_2
Type: object
Show Source
Nested Schema : rastermathop_param_3
Type: object
Show Source
Nested Schema : rastermathop_param_4
Type: object
Show Source
Nested Schema : rastermathop_param_5
Type: object
Show Source
Nested Schema : rastermathop_param_6
Type: object
Show Source
Nested Schema : rastermathop_param_7
Type: object
Show Source
Nested Schema : sdo_string2_array
Type: array
Show Source
Nested Schema : rasterupdate_param_1
Type: object
Show Source
Nested Schema : rasterupdate_param_2
Type: object
Show Source
Nested Schema : sdo_string2_arrayset
Type: array
Show Source
Nested Schema : stack_param_1
Type: object
Show Source
Nested Schema : stack_param_2
Type: object
Show Source
Back to Top

Response

200 Response

Result of the function
Body ()
Root Schema : functionReturn
Type: object
Show Source
Nested Schema : ReturnValue
Match One Schema
Show Source
Nested Schema : sdo_number_array
Type: array
Show Source
Nested Schema : sdo_string2_array
Type: array
Show Source
Nested Schema : sdo_string2_arrayset
Type: array
Show Source
Nested Schema : sdo_geometry
Type: object
Show Source

401 Response

Authentication information is missing or invalid
Headers
Back to Top

Examples

The following is an example on how to invoke a diff opeartion over two GeoRasters and store the result in a GeoRaster by submitting a POST request using cURL.

curl -X POST -d '{"geor":{"rasterDataTable":"image_table_RDT1","rasterID":1},"geor1":{"rasterDataTable":"image_table_RDT1","rasterID":2},"outgeoraster":{"rasterDataTable":"image_table_RDT1","rasterID":4},"storageParam":null,"nodata":null,"nodatavalue":null,"cropArea":null}' "https://localhost:8080/oraclespatial/georaster/v1/datasource1/diff" -H "Cookie: JSESSIONID=<jsessionid_value>"

The following shows an example of the response after the above request is successfully processed:

{
   "ReturnStatus" : "Success"
} 
Back to Top