datasetInterpolation


URI

<dataset_uri>/interpolation[.<format>]

Supported methods

GET, HEAD

Parent resource

dataset

Child resources

interpolationDensity, interpolationIDW, interpolationRBF, interpolationKriging

Introduction

The root resource of interpolation analysis, and provides portals for resources all kinds of interpolation analyses.

With limited sampling points, users can forecast the values around the sampling points through Interpolating, and get the population distribution of the target region, thus the discrete sampling points can reflect the value distribution of the whole region. Currently the interpolation of SuperMap iServer provides the function that gets the raster dataset by interpolating point dataset. The follows are the common interpolation methods, including inverse distance weighting method, Kriging interpolation, Radial basis function interpolation, Point density interpolation.

Supported methods

Supported output formats:(rjson, json, html, xml, jsonp).

GIS Services Resource Hierarchy

HTTP request methods

Below is an example of performing an HTTP request on a specified URI with rjson as the output format. supermapiserver in the URI is the name of the server.

http://supermapiserver:8090/iserver/services/spatialanalyst-sample/restjsr/spatialanalyst/datasets/SamplesP@Interpolation/interpolation.rjson

GET request

Gets the interpolation method supported by the current point dataset.

Response structure

Returns the interpolation method child resource supported by the current point dataset.

Name Type Description
name string The name of the interpolation method child resource.
path String The URI of the interpolation method child resource.
resourceConfigID String The ID in resource configuration files.
resourceType ResourceType The resource type.
supportedMediaTypes string[] The supported expression type.
visible boolean Whether it is visible and the default is TRUE.

Response

Executes the GET request for http://localhost:8090/services/spatialanalyst-sample/restjsr/spatialanalyst/datasets/SamplesP@Interpolation/interpolation.rjson. The returned rjson format is as follows:

[

  {

    "name": "interpolationDensity",

    "path": "http://localhost:8090/services/spatialanalyst-sample/restjsr/spatialanalyst/datasets/SamplesP@Interpolation/interpolation/density",

    "resourceConfigID": null,

    "resourceType": null,

    "supportedMediaTypes": null,

    "visible": true

  },

  {

    "name": "interpolationIDW",

    "path": "http://localhost:8090/services/spatialanalyst-sample/restjsr/spatialanalyst/datasets/SamplesP@Interpolation/interpolation/idw",

    "resourceConfigID": null,

    "resourceType": null,

    "supportedMediaTypes": null,

    "visible": true

  },

  {

    "name": "interpolationKriging",

    "path": "http://localhost:8090/services/spatialanalyst-sample/restjsr/spatialanalyst/datasets/SamplesP@Interpolation/interpolation/kriging",

    "resourceConfigID": null,

    "resourceType": null,

    "supportedMediaTypes": null,

    "visible": true

  },

  {

    "name": "interpolationRBF",

    "path": "http://localhost:8090/services/spatialanalyst-sample/restjsr/spatialanalyst/datasets/SamplesP@Interpolation/interpolation/rbf",

    "resourceConfigID": null,

    "resourceType": null,

    "supportedMediaTypes": null,

    "visible": true

  }

]

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 datasetInterpolation resource exists, or if the resource can be accessed by clients. It can also determine if the datasetInterpolation resource supports an output format <format> if performed on a URI with .<format> included.

See