datasetMinDistanceResult


URI

<datasetMinDistanceResults_uri>/datasetMinDistanceResultID[.<format>]

Supported methods

GET, HEAD

Parent resource

datasetMinDistanceResults

Introduction

The datasetMinDistanceResult resource.

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@Interpolation/mindistance/1.rjson

GET request

Gets the datasetMinDistanceResult resource.

Response structure

The response structure will be as follows after implementing the GET request:

Field Type Description
datasetName String The name of the result dataset. It is used to represent the result dataset with datasourceName. null indicates no result dataset has been returned during analysis.
datasourceName String The name of the datasource to which the result dataset belongs. null indicates no result dataset has been returned during analysis.
distanceResults DistanceResult

The detailed information of the calculated result. While result dataset is returned, the result informaiton is stored in the result dataset and the value of distanceResults is null.

Response example

The returned RJSON format result through implementing the GET request on the result resource http://supermapiserver:8090/iserver/services/spatialanalyst-sample/restjsr/spatialanalyst/datasets/SamplesP@Interpolation/mindistance/mvrpzwln_e6b1f1cbcd5a49faa580349a741bca92 of POST reqeust of datasetMinDistanceResults is as follows:

{

  "datasetName": "minDistanceBounds",

  "datasourceName": "Interpolation",

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

See