trafficTransferAnalyst


URI

<root_uri>/traffictransferanalyst[.<format>]

Supported methods

GET, HEAD

Parent resource

root

Child resources

transferNetwork

Introduction

 The trafficTransferAnalyst resource is the root resource of transportation network analyses. Performing a GET operation on the trafficTransferAnalyst resource can retrieve the set of names of available network datasets for traffic transfer analyses on a SuperMap iServer server.

Supported Methods:

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

GIS Services 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/traffictransferanalyst-sample/restjsr/traffictransferanalyst.rjson

GET request

Get the network data name used for traffic transfer analysis, there is no need to pass the request parameters.

Response structure

Field Type Description
name String The name of the child resources transfer network.
path String The access path of the child resource.
resourceConfigID String The configuration item ID of the resource.
resourceType String The resource type.
supportedMediaTypes String[] The media-type of the supported representation.
visible boolean Whether it is visible.

 

Respose example

Perform GET request on the trafficTransferAnalyst resource: http://supermapiserver:8090/iserver/services/traffictransferanalyst-sample/restjsr/traffictransferanalyst.rjson, the rjson representation returned is as the following:

[{

    "name": "Traffic-Changchun",

    "path": "http://supermapiserver:8090/iserver/services/traffictransferanalyst-sample/restjsr/traffictransferanalyst/Traffic-Changchun",

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

See