Get GeoRaster Object Cell Values
get
{server}/georaster/v1/{datasource}/{tableName}/{georasterColumnName}/{rdt}/{rid}/cellValues
Get the cell values of the specified GeoRaster Object at the specified location. If the interpolation method exists, the cell values is interpolated to the exact point.
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
-
bandNumber: integer
Number of the physical band that contains the cells whose values are to be returned.Examples
-
colNumbers(required): array[integer]
Minimum Length:
1
Numbers of the columns that contains the cells whose values are to be returned.Examples -
pyramidLevel: number
Specify the pyramid level of the GeoRaster data.Examples
-
rowNumbers(required): array[integer]
Minimum Length:
1
Numbers of the rows that contains the cells whose values are to be returned.Examples
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Return the raster cell values at the requested locations.
Root Schema : rasterCellValueResponse
Type:
Show Source
object
-
cellValues(required): array
cellValues
-
links(required): array
links
links to self, the GeoRaster Object
Examples
401 Response
Examples
The following is an example on how to request cell values from a given GeoRaster Object by submitting a GET request using cURL.
curl -X GET "https://localhost:8080/oraclespatial/georaster/v1/datasource1/image_table/image/image_table_RDT1/1/cellValues?pyramidLevel=1&rowNumbers=10,45,100,45&colNumbers=10,110,150,215&bandNumber=1" -H "Cookie: JSESSIONID=<jsessionid_value>"
The following shows an example of the response in JSON format for the above request.
{ "cellValues": [ 134, 146, 123, 116 ], "links": [{ "rel" : "self", "href" : "https://localhost:8080/oraclespatial/georaster/v1/datasource1/image_table/image/image_table_RDT1/1/cellValues?pyramidLevel=1&rowNumbers=10,45,100,45&colNumbers=10,110,150,215&bandNumber=1" }] }