Execute SDO_GEOR_IP Package Functions
post
{server}/georaster/v1/{datasource}/sdo_geor_ip/{functionName}
Execute MDSYS.SDO_GEOR_IP 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_IP packageAllowed Values:
[ "dodge", "equalize", "filter", "histogrammatch", "normalize", "piecewisestretch", "stretch" ]
Supported Media Types
- application/json
Nested Schema : normalize_param_1
Type:
Show Source
object
-
bandnumbers(required): string
-
croparea: array
sdo_number_array
-
ingeoraster(required): object
sdo_georaster
-
means(required): array
sdo_number_array
-
outgeoraster(required): object
sdo_georaster
-
parallelparam: string
-
pyramidlevel: number
-
standarddeviations(required): array
sdo_number_array
-
storageparam: string
Nested Schema : normalize_param_2
Type:
Show Source
object
-
croparea: object
sdo_geometry
-
ingeoraster(required): object
sdo_georaster
-
layernumbers(required): string
-
means(required): array
sdo_number_array
-
outgeoraster(required): object
sdo_georaster
-
parallelparam: string
-
pyramidlevel: number
-
standarddeviations(required): array
sdo_number_array
-
storageparam: string
Nested Schema : piecewisestretch_param_1
Type:
Show Source
object
-
bandnumbers(required): string
-
croparea: array
sdo_number_array
-
ingeoraster(required): object
sdo_georaster
-
invalues(required): array
sdo_number_arrayset
-
outgeoraster(required): object
sdo_georaster
-
outvalues(required): array
sdo_number_arrayset
-
parallelparam: string
-
pyramidlevel: number
-
storageparam: string
Nested Schema : piecewisestretch_param_2
Type:
Show Source
object
-
croparea: object
sdo_geometry
-
ingeoraster(required): object
sdo_georaster
-
invalues(required): array
sdo_number_arrayset
-
layernumbers(required): string
-
outgeoraster(required): object
sdo_georaster
-
outvalues(required): array
sdo_number_arrayset
-
parallelparam: string
-
pyramidlevel: number
-
storageparam: string
Response
200 Response
Result of the function
401 Response
Examples
The following is an example on how to apply filter operation on a GeoRaster and save the result into a GeoRaster by submitting a POST request using cURL.
curl -X -d '{"ingeoraster":{"rasterDataTable":"image_table_RDT1","rasterID":0},"outgeoraster":{"rasterDataTable":"image_table_RDT1","rasterID":2},"storageParam":null,"pyramidLevel":0,"cropArea":null,"bandNumbers":null,"filterParam":"filtertype=LPF,kernelsize=(9,9)","filterKernel":null}' POST "https://localhost:8080/oraclespatial/georaster/v1/datasource1/sdo_geor_ip/filter" -H "Cookie: JSESSIONID=<jsessionid_value>"
The following shows an example of the response after the above request is successfully processed:
{ "ReturnStatus" : "Success" }