Get Virtual Mosaic Data in RAW Data Format

post

{server}/georaster/v1/{datasource}/vm/{virtualMosaicName}/rasterData

Get a subset of the specified virtual mosaic in multi-part data format.

Request

Path Parameters
Query Parameters
  • the format of the raster data, one of the following value, BASE64, RAW.
    Allowed Values: [ "BASE64", "RAW" ]
    Example:
    RAW
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
virtual mosaic retrieval parameter. Some parameters are part of the virtual mosaic definition too. If these parameters are specified, they will overwrite the parameters specified at virutal mosaic definition.
Show Source
Nested Schema : sdo_number_array
Type: array
Show Source
Nested Schema : colorBalance
Type: object
Show Source
Nested Schema : cropArea
Match One Schema
Show Source
Nested Schema : memoryParam
Type: object
the memory usage parameter
Show Source
Nested Schema : reference
Match One Schema
Show Source
Nested Schema : sdo_georaster
Type: object
Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : sdo_geor_histogram
Type: object
Show Source
Nested Schema : sdo_geometry
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Return the virtual mosaic subset in multi-part data format.
Body ()
Root Schema : rasterData
Type: object
The json response of the information of the GeoRaster raster data, the binary data is to be followed after this in the multi-part format.
Show Source
Nested Schema : sdo_geometry
Type: object
Show Source
Nested Schema : sdo_number_array
Type: array
Show Source

401 Response

Authentication information is missing or invalid
Headers
Back to Top

Examples

The following is an example on how to request a subset of the virtual mosaic by submitting a POST request using cURL.

curl -X POST -d @request.json "https://localhost:8080/oraclespatial/georaster/v1/datasource1/vm/landsatMosaic/rasterData" -H "Cookie: JSESSIONID=<jsessionid_value>"

The following is an example of request.json for the request body:

{
  "bandNumbers": "0",
  "cropArea": [
    0,
    0,
    100,
    100
  ],
  "resamplingMethod": "bilinear",
  "considerNodata": true,
  "fillGap": true,
  "commonPointRule": "low"
}
Back to Top