Get the Statistics of a Virtual Mosaic

get

{server}/georaster/v1/{datasource}/vm/{virtualMosaicName}/statistics

Get the statistics of a virtual mosaic.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Return the statistics of the virtual mosaic in an array in the order of min, max, mean and std, for each band.
Body ()
Root Schema : VMStatsResponse
Type: object
Show Source
Nested Schema : stats
Type: array
the statistics for each band in an array
Show Source
Nested Schema : VMStats
Type: object
Show Source

401 Response

Authentication information is missing or invalid
Headers
Back to Top

Examples

The following is an example on how to get statistics of a virual mosaic by submitting a GET request using cURL.

curl -X GET "https://localhost:8080/oraclespatial/georaster/v1/datasource1/vm/landsatMosaic/statistics" -H "Cookie: JSESSIONID=<jsessionid_value>"

The following shows an example of the response in JSON format for the above request.

{
  "statistics" : [ { 
     "min" : 0.0,
     "max" : 255.0,
     "mean" : 116.869247428262,
     "std" : 127.058618932125, 
     "median" : 0.0,
     "mode" : 0.0,
     "sum" : 1.72686E7
   }, {
     "min" : 0.0,
     "max" : 255.0,
     "mean" : 82.2985923118571,
     "std" : 119.221054803294,
     "median" : 0.0,
     "mode" : 0.0,
     "sum" : 1.216044E7
   }, {
     "min" : 0.0,
     "max" : 255.0,
     "mean" : 109.910936654034,
     "std" : 126.283500196607,
     "median" : 0.0,
     "mode" : 0.0,
     "sum" : 1.624044E7
   } ],
   "links" : [ { 
     "rel" : "self",
     "href" : "http://localhost:8080/oraclespatial/georaster/v1/datasource1/vm/landsatMosaic/statistics"
   }, {
     "rel" : "parent", 
     "href" : "http://localhost:8080/oraclespatial/georaster/v1/datasource1/vm/landsatMosaic"
   } ]
}
Back to Top