Execute SDO_GEOR_UTL Package Functions

post

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

Execute MDSYS.SDO_GEOR_UTL 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_UTL package
    Allowed Values: [ "calcrasternominalsize", "calcrasterstoragesize", "calcsurfacearea", "createdmltrigger", "emptyblocks", "fillemptyblocks", "generatecolorramp", "generategrayramp", "renamerdt" ]
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Match One Schema
Show Source
Nested Schema : calcrasternominalsize_param
Type: object
Show Source
Nested Schema : calcrasterstoragesize_param
Type: object
Show Source
Nested Schema : calcsurfacearea_param
Type: object
Show Source
Nested Schema : createdmltrigger_param
Type: object
Show Source
Nested Schema : emptyblocks_param
Type: object
Show Source
Nested Schema : fillemptyblocks_param
Type: object
Show Source
Nested Schema : generatecolorramp_param
Type: object
Show Source
Nested Schema : generategrayramp_param
Type: object
Show Source
Nested Schema : renamerdt_param
Type: object
Show Source
Nested Schema : sdo_georaster
Type: object
Show Source
Nested Schema : sdo_geometry
Type: object
Show Source
Nested Schema : sdo_number_array
Type: array
Show Source
Nested Schema : sdo_geor_colormap
Type: object
Show Source
Nested Schema : sdo_geor_grayscale
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 calculate optimized block size by submitting a POST request using cURL.

curl -X POST -d '{"dimensionsize":[1000,1000,3],"blocksize":[256,256,3]}' "https://localhost:8080/oraclespatial/georaster/v1/datasource1/sdo_geor_utl/calcOptimizedBlockSize" -H "Cookie: JSESSIONID=<jsessionid_value>"

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

{
   "ReturnStatus" : "Success",
   "BLOCKSIZE" : [ 250, 250, 3 ]
} 
Back to Top