Get Raster Data in Raw Data Format
post
{server}/georaster/v1/{datasource}/{tableName}/{georasterColumnName}/{rdt}/{rid}/rasterData
Query and/or process the raster data of the specified GeoRaster Object and return the raster data in BASE64 or RAW format.
Request
Path Parameters
-
georasterColumnName(required): string
The name of the GeoRaster ColumnExamples
-
rdt(required): string
The Raster Data Table (RDT) Name.Examples
-
rid(required): integer
The Raster ID (RID) of the GeoRaster Object.Examples
-
tableName(required): string
The name of the table, could be prefixed with a schema nameExamples
Query Parameters
-
format: string
Specify the output format of the rasterData: BASE64 or RAW.Allowed Values:
[ "BASE64", "RAW" ]
Example:RAW
Supported Media Types
- application/json
Root Schema : schema
Type:
object
operations that return data on the fly
Show Source
-
memoryParam: object
memoryParam
the memory usage parameter
-
opName: string
Allowed Values:
[ "affinetransform", "getbitmapmasksubset", "getrasterdata", "getrastersubset", "rectify", "reproject", "warp", "equalize", "filter", "normalize", "piecewisestretch", "stretch", "classify", "diff", "findcells", "normalize", "picewisestretch", "stretch", "classify", "diff", "findcells", "over", "rastermathop", "getmosaicsubset" ]
the operation name -
opParam:
opParam
Nested Schema : op_rectify_param
Type:
Show Source
object
-
bgvalues: array
sdo_number_array
-
croparea: object
sdo_geometry
-
dem: object
sdo_georaster
-
elevationparam: string
-
layernumbers: string
-
outmodelcoordloc: number
-
outresolutions: array
sdo_number_array
-
outsrid(required): number
-
polygonclip: string
-
pyramidlevel: number
-
referencepoint: object
sdo_geometry
-
resampleparam: string
-
resolutionunit: string
-
storageparam: string
Nested Schema : sdo_geor_srs
Type:
Show Source
object
-
columndenominator: array
sdo_number_array
-
columnnumerator: array
sdo_number_array
-
columnoff: number
-
columnrms: number
-
columnscale: number
-
coordlocation: number
-
gcpgeoreferencemodel: object
sdo_geor_gcpgeoreftype
-
isorthorectified: string
-
isrectified: string
-
isreferenced: string
-
modeltotalrms: number
-
rowdenominator: array
sdo_number_array
-
rownumerator: array
sdo_number_array
-
rowoff: number
-
rowrms: number
-
rowscale: number
-
spatialresolution: array
sdo_number_array
-
spatialtolerance: number
-
srid: number
-
totalrms: number
-
xoff: number
-
xrms: number
-
xscale: number
-
yoff: number
-
yrms: number
-
yscale: number
-
zoff: number
-
zrms: number
-
zscale: number
Nested Schema : op_getmosaicsubset_param_1
Type:
Show Source
object
-
bgvalues: array
sdo_number_array
-
boundaryclip: string
-
croparea: object
sdo_geometry
-
georastercolumnnames(required): string
-
georastertablenames(required): string
-
layernumbers: string
-
mosaicparam: string
-
outmodelcoordloc: number
-
outresolutions: array
sdo_number_array
-
outsrid: number
-
polygonclip: string
-
pyramidlevel: number
-
referencepoint: object
sdo_geometry
-
resolutionunit: string
-
storageparam: string
Nested Schema : op_getmosaicsubset_param_2
Type:
Show Source
object
-
bgvalues: array
sdo_number_array
-
boundaryclip: string
-
croparea: object
sdo_geometry
-
elevationparam: string
-
georastercolumnnames(required): string
-
georastertablenames(required): string
-
layernumbers: string
-
mosaicparam: string
-
outmodelcoordloc: number
-
outresolutions: array
sdo_number_array
-
outsrid: number
-
polygonclip: string
-
pyramidlevel: number
-
referenceimage: object
sdo_georaster
-
referencepoint: object
sdo_geometry
-
referencevalue1: array
sdo_number_array
-
referencevalue2: array
sdo_number_array
-
refhistograms: array
sdo_geor_histogram_array
-
resolutionunit: string
-
storageparam: string
Examples
Back to Top
Response
Supported Media Types
- multipart/mixed
200 Response
Return the raster data in the specified format.
Root Schema : schema
Type:
Show Source
object
-
data: string
(binary)
-
metadata: object
rasterData
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.
Nested 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 Raster Data by submitting a POST request using cURL.
curl -X POST -d @request.json "https://localhost:8080/oraclespatial/georaster/v1/datasource1/image_table/image/image_table_RDT1/1/ratertData?format=RAW" -H "Cookie: JSESSIONID=<jsessionid_value>"
The following is an example of request.json for the request body:
{ "opName": "reproject", "opParam": { "outSRID": 4326, "resampleParam": "resampling=bilinear", "pyramidLevel": 1, "cropWin": [ 100, 100, 200, 200 ], "bandNumber": "0-2", "storageParam": "celldepth=16bit_u" } }