Get the Definition of a Virtual Mosaic
get
{server}/georaster/v1/{datasource}/vm/{virtualMosaicName}
Get the definition of a virtual mosaic by specifying the virtual mosaic name.
Request
Path Parameters
-
virtualMosaicName(required): string
The name of the virtual mosaic
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Return the information of the requested 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 request the definition of a mosaic with name "landsatMosaic" by submitting a GET request using cURL.
curl -X GET "https://localhost:8080/oraclespatial/georaster/v1/datasource1/vm/landsatMosaic" -H "Cookie: JSESSIONID=<jsessionid_value>"
The following shows an example of the response JSON format for the above request.
{ "name" : "landsatMosaic", "vmDefinition" : { "sourceImages" : { "tableNames" : [ "landsat" ], "columnNames" : [ "image" ], "conditions" : null }, "outSRID" : 4326, "outResolutions" : [ 30.0, 30.0 ], "resolutionUnit" : "meter", "resamplingMethod" : "bilinear", "resamplingTolerance" : 0.2, "commonPointRule" : "high" }, "pyramidMaxLevel" : 7, "maxNumberOfBand" : 3, "cellDepth" : "8BIT_U", "dimensionSize" : [ 111498, 186723 ], "spatialExtent" : { "srid" : 4326, "polygon" : { "boundary" : [ { "rectangle" : { "datapoints" : [ [ -130.10368, 22.6478 ], [ -64.168344, 52.7826807 ] ] } } ] } }, "links" : [ { "rel" : "self", "href" : "http://localhost:8080/oraclespatial/georaster/v1/datasource1/vm/landsatMosaic" }, { "rel" : "rasterImage", "href" : "http://localhost:8080/oraclespatial/georaster/v1/datasource1/vm/landsatMosaic/rasterImage" }, { "rel" : "rasterData", "href" : "http://localhost:8080/oraclespatial/georaster/v1/datasource1/vm/landsatMosaic/rasterData" }, { "rel" : "statistics", "href" : "http://localhost:8080/oraclespatial/georaster/v1/datasource1/vm/landsatMosaic/statistics" }, { "rel" : "parent", "href" : "http://localhost:8080/oraclespatial/georaster/v1/datasource1/vm" } ] }