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
-
virtualMosaicName(required): string
The name of the virtual mosaic
Query Parameters
-
format: string
the format of the raster data, one of the following value, BASE64, RAW.Allowed Values:
[ "BASE64", "RAW" ]
Example:RAW
Supported Media Types
- 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
-
bandNumbers: string
-
bgValues: array
sdo_number_array
-
colorBalance: object
colorBalance
-
commonPointRule: string
Allowed Values:
[ "start", "end", "latest", "oldest", "ctc", "high", "low", "average", "highres" ]
-
considerNodata: boolean
Default Value:
false
-
cropArea:
cropArea
-
fillGap: boolean
Default Value:
false
-
memoryParam: object
memoryParam
the memory usage parameter
-
pyramidLevel: integer
-
resamplingMethod: string
-
resamplingTolerance: number
Minimum Value:
0
Maximum Value:0.5
-
resFilter: boolean
Default Value:
false
Nested Schema : colorBalance
Type:
Show Source
object
-
balanceMethod(required): string
Default Value:
none
Allowed Values:[ "none", "linearstretching", "statisticdmatching", "histogrammatching" ]
-
reference:
reference
-
referenceMethod: string
Allowed Values:
[ "value", "image", "overlap" ]
Response
Supported Media Types
- application/json
200 Response
Return the virtual mosaic subset in multi-part data format.
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
-
area(required): object
sdo_geometry
-
links(required): array
links
links to self, metadata and the GeoRaster Object
-
window(required): array
sdo_number_array
401 Response
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" }