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
Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Return the raster cell values at the requested locations.
Body ()
Root Schema : rasterCellValueResponse
Type: object
Show Source
Nested Schema : cellValues
Type: array
Show Source
Nested Schema : numberArray
Type: array
Show Source
Examples

401 Response

Authentication information is missing or invalid
Headers
Back to Top

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"
   }]
}
Back to Top