Create a Virtual Mosaic

put

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

Create a virtual mosaic by specifying the parameters in the request body in JSON string.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
virtual mosaic related parameters. pyramidlevel, bandNumber, cropArea not included here as it will be specified at the request.
Show Source
Nested Schema : sdo_number_array
Type: array
Show Source
Nested Schema : colorBalance
Type: object
Show Source
Nested Schema : outResolutions
Type: object
Show Source
Nested Schema : sdo_geometry
Type: object
Show Source
Nested Schema : sourceImages
Type: object
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 : columnNames
Type: array
Show Source
Nested Schema : conditions
Type: array
Show Source
Nested Schema : tableNames
Type: array
Show Source
Back to Top

Response

Supported Media Types

200 Response

Return the information of the newly created virtual mosaic.
Body ()
Root Schema : VMObjectResponse
Type: object
Show Source
Nested Schema : sdo_number_array
Type: array
Show Source
Nested Schema : sdo_geometry
Type: object
Show Source
Nested Schema : schema
Type: object
virtual mosaic related parameters. pyramidlevel, bandNumber, cropArea not included here as it will be specified at the request.
Show Source
Nested Schema : colorBalance
Type: object
Show Source
Nested Schema : outResolutions
Type: object
Show Source
Nested Schema : sourceImages
Type: object
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 : columnNames
Type: array
Show Source
Nested Schema : conditions
Type: array
Show Source
Nested Schema : tableNames
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 create a virtual mosaic by submitting a POST request using cURL.

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

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

{
  "sourceImages": {
    "tableNames": [
      "landsat"
    ],
    "columnNames": [
      "image"
    ]
  },
  "outSRID": 3078,
  "outResolutions": {
    "value": [
      30,
      30
    ],
    "unit": "meter"
  },
  "resamplingMethod": "bilinear",
  "resamplingTolerance": 0.2,
  "commonPointRule": "high"
}
Back to Top