Execute SDO_GEOR_AGGR Package Functions
post
{server}/georaster/v1/{datasource}/sdo_geor_aggr/{functionName}
Execute MDSYS.SDO_GEOR_AGGR 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_AGGR packageAllowed Values:
[ "append", "getmosaicextent", "getmosaicresolutions", "mosaicsubset", "validateformosaicsubset" ]
Supported Media Types
- application/json
Nested Schema : mosaicsubset_param_1
Type:
Show Source
object
-
bgvalues: array
sdo_number_array
-
boundaryclip: string
-
croparea: object
sdo_geometry
-
georastercolumnnames(required): string
-
georastertablenames(required): string
-
layernumbers: string
-
mosaicparam: string
-
outgeoraster(required): object
sdo_georaster
-
outmodelcoordloc: number
-
outresolutions: array
sdo_number_array
-
outsrid: number
-
parallelparam: string
-
polygonclip: string
-
pyramidlevel: number
-
referencepoint: object
sdo_geometry
-
resolutionunit: string
-
storageparam: string
Nested Schema : mosaicsubset_param_2
Type:
Show Source
object
-
bgvalues: array
sdo_number_array
-
boundaryclip: string
-
croparea: object
sdo_geometry
-
elevationparam: string
-
georastercolumnnames(required): string
-
georastertablenames(required): string
-
layernumbers: string
-
mosaicparam: string
-
outgeoraster(required): object
sdo_georaster
-
outmodelcoordloc: number
-
outresolutions: array
sdo_number_array
-
outsrid: number
-
parallelparam: string
-
polygonclip: string
-
pyramidlevel: number
-
referenceimage: object
sdo_georaster
-
referencepoint: object
sdo_geometry
-
referencevalue1: array
sdo_number_array
-
referencevalue2: array
sdo_number_array
-
refhistograms: array
sdo_geor_histogram_array
-
resolutionunit: string
-
storageparam: string
Response
200 Response
Result of the function
401 Response
Examples
The following is an example on how to append one GeoRaster Object to another GeoRaster Object by submitting a POST request using cURL.
curl -X POST -d '{"targetgeoraster":{"rasterDataTable":"image_table_RDT1","rasterID":0},"sourcegeoraster":{"rasterDataTable":"image_table_RDT1","rasterID":1},"sourcepyramidLevel":0,"appendparam":"commonPointRule=high"}' "https://localhost:8080/oraclespatial/georaster/v1/datasource1/sdo_geor_aggr/append" -H "Cookie: JSESSIONID=<jsessionid_value>"
The following shows an example of the response after the above request is successfully processed:
{ "ReturnStatus" : "Success" }