datasetDensityAnalyst


URI

<dataset_uri>/densityanalyst[.<format>]

Supported methods

GET, HEAD

Parent resource

dataset

Child resources

kernelDensityAnalyst

Introduction

Density analysis root resource, density analysis can calculate specified point and line object density around every imported pixel. Density analysis, to some extent, is to separate point and line object measurement value on surface, to distribute each point and line object measurement in the entire research area, and calculate the density value in every raster pixel.

Supported Methods:

Supported output formats: rjson, json, html, xml.

Resource hierarchy

HTTP request methods

Implement the HTTP request on the following URI, where supermapiserver is the server name, with rjson being the output format.

http://supermapiserver:8090/iserver/services/spatialanalyst-sample/restjsr/spatialanalyst/datasets/SamplesP%40Interpolation/densityanalyst.rjson

GET request

Gets the density analysis methods supported by the current dataset.

Response structure

Returns the child resource information list of density analysis methods supported by the current dataset. The information in each child resource are as follows.

Field Type Description
name string The name of the child resource.
path string The URI of the child resource.
resourceConfigID string The ID of the resource configuration file.
resourceType ResourceType The resource type.
supportedMediaTypes string[] The supported media types.

Response example

The returned rjson format representation after implementing the GET request on the datasetDensityAnalyst resource http://localhost:8090/iserver/services/spatialanalyst-sample/restjsr/spatialanalyst/datasets/SamplesP@Interpolation/densityanalyst.rjson is as follows:

[{

    "name": "kernelDensity",

    "path": "http://localhost:8090/iserver/services/spatialanalyst-sample/restjsr/spatialanalyst/datasets/SamplesP@Interpolation/densityanalyst/kernel",

    "resourceConfigID": null,

    "resourceType": null,

    "supportedMediaTypes": null

}]

 HEAD request

Asks for the response identical to the one that would correspond to a GET request, but without the response body. This is useful for retrieving meta-information written in response headers, without having to transport the entire content. The meta-information includes the media-type, content-encoding, transfer-encoding, content-length, etc.

HEAD request can be used to check if the datasetDensityAnalyst resource exists, or if the datasetDensityAnalyst resource can be accessed by clients. It can also determine if the datasetDensityAnalyst resource supports an output format <format> if performed on a URI with .<format> included.

See