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
-
functionName(required): string
The name of the functions in SDO_GEOR_RA packageAllowed Values:
[ "classify", "diff", "findcells", "isoverlap", "over", "rastermathop", "rasterupdate", "stack" ]
Supported Media Types
- application/json
Nested Schema : classify_param_1
Type:
Show Source
object
-
croparea: array
sdo_number_array
-
expression(required): string
-
georarray(required): array
sdo_georaster_array
-
nodata: string
-
nodatavalue: number
-
outgeoraster(required): object
sdo_georaster
-
parallelparam: string
-
rangearray(required): array
sdo_number_array
-
storageparam: string
-
valuearray(required): array
sdo_number_array
Nested Schema : classify_param_2
Type:
Show Source
object
-
croparea(required): object
sdo_geometry
-
expression(required): string
-
georarray(required): array
sdo_georaster_array
-
nodata: string
-
nodatavalue: number
-
outgeoraster(required): object
sdo_georaster
-
parallelparam: string
-
polygonclip: string
-
rangearray(required): array
sdo_number_array
-
storageparam: string
-
valuearray(required): array
sdo_number_array
Nested Schema : classify_param_3
Type:
Show Source
object
-
croparea: array
sdo_number_array
-
expression(required): string
-
ingeoraster(required): object
sdo_georaster
-
nodata: string
-
nodatavalue: number
-
outgeoraster(required): object
sdo_georaster
-
parallelparam: string
-
rangearray(required): array
sdo_number_array
-
storageparam: string
-
valuearray(required): array
sdo_number_array
Nested Schema : classify_param_4
Type:
Show Source
object
-
croparea(required): object
sdo_geometry
-
expression(required): string
-
ingeoraster(required): object
sdo_georaster
-
nodata: string
-
nodatavalue: number
-
outgeoraster(required): object
sdo_georaster
-
parallelparam: string
-
polygonclip: string
-
rangearray(required): array
sdo_number_array
-
storageparam: string
-
valuearray(required): array
sdo_number_array
Nested Schema : rastermathop_param_4
Type:
Show Source
object
-
bgvalues: array
sdo_number_array
-
constant(required): number
-
croparea: array
sdo_number_array
-
georaster0(required): object
sdo_georaster
-
georaster1(required): object
sdo_georaster
-
nodata: string
-
nodatavalue: number
-
operator(required): integer
-
outgeoraster(required): object
sdo_georaster
-
parallelparam: string
-
storageparam: string
Nested Schema : rastermathop_param_5
Type:
Show Source
object
-
bgvalues: array
sdo_number_array
-
constant(required): number
-
croparea(required): object
sdo_geometry
-
georaster0(required): object
sdo_georaster
-
georaster1(required): object
sdo_georaster
-
nodata: string
-
nodatavalue: number
-
operator(required): integer
-
outgeoraster(required): object
sdo_georaster
-
parallelparam: string
-
polygonclip: string
-
storageparam: string
Response
200 Response
Result of the function
401 Response
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" }