This service performs spatial binning over a spatial dataset.

post

/spatialviewer/api/v1/binningJob

Request

Supported Media Types
  • application/json
Query Parameters
asynchronous
Type: boolean
if true the operation is runned asynchronously.
Body Parameter
Job details
Root Schema : BinningJobInfo
Type: object

Response

Supported Media Types
  • application/json
200 Response
Successful request.

The response contains the location of the results in HDFS.

Additionally When the job finishes the results will be saved in the folder binning_results contained in the SpatialViewer local working directory (see SpatialViewer configuration). The result can be used as data source of the Map API VectorLayer (OM.layer.VectorLayer) for display.
Body
Root Schema : BinningJobResponse
Type: object
202 Response
accepted asynchronous request.

The response contains the resource manager web application URL to track the job.

Additionally When the job finishes the results will be saved in the folder binning_results contained in the SpatialViewer local working directory (see SpatialViewer configuration). The result can be used as data source of the Map API VectorLayer (OM.layer.VectorLayer) for display.
Body
Root Schema : AsyncBinningJobResponse
Type: object