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
-
virtualMosaicName(required): string
The name of the virtual mosaic
Supported Media Types
- 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
-
bgValues: array
sdo_number_array
-
colorBalance: object
colorBalance
-
commonPointRule: string
Allowed Values:
[ "start", "end", "latest", "oldest", "ctc", "high", "low", "average", "highres" ]
-
elevationParam: string
-
fillGap: boolean
Default Value:
false
-
nodata: boolean
Default Value:
false
-
outModelCoordLoc: string
Default Value:
center
Allowed Values:[ "center", "upperleft" ]
-
outResolutions: object
outResolutions
-
outSRID: integer
-
referencePoint: object
sdo_geometry
-
resamplingMethod: string
-
resamplingTolerance: number
Minimum Value:
0
Maximum Value:0.5
-
sourceImages(required): object
sourceImages
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 information of the newly created virtual mosaic.
Root Schema : VMObjectResponse
Type:
Show Source
object
-
dimensionSize: array
sdo_number_array
-
links: array
links
link to self, rasterImage, rasterData
-
maxNumberOfBands: integer
-
name: string
-
pyramidMaxLevel: integer
-
spatialExtent: object
sdo_geometry
-
vmDefinition: object
schema
virtual mosaic related parameters. pyramidlevel, bandNumber, cropArea not included here as it will be specified at the request.
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
-
bgValues: array
sdo_number_array
-
colorBalance: object
colorBalance
-
commonPointRule: string
Allowed Values:
[ "start", "end", "latest", "oldest", "ctc", "high", "low", "average", "highres" ]
-
elevationParam: string
-
fillGap: boolean
Default Value:
false
-
nodata: boolean
Default Value:
false
-
outModelCoordLoc: string
Default Value:
center
Allowed Values:[ "center", "upperleft" ]
-
outResolutions: object
outResolutions
-
outSRID: integer
-
referencePoint: object
sdo_geometry
-
resamplingMethod: string
-
resamplingTolerance: number
Minimum Value:
0
Maximum Value:0.5
-
sourceImages(required): object
sourceImages
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" ]
401 Response
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" }