symbols


URI

<3D_uri>/symbols[.<format>]

Supported methods

GET, HEAD

Parent resource

3D

Introduction

Symbols resource is the symbols and all its resources supported by 3D Scene.

Supported methods

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

GIS Services Resource Hierarchy

HTTP request methods

Implement the HTTP request on the following URI, where supermapiserver is the server name.

http://supermapiserver:8090/iserver/services/3D-sample/rest/realspace/symbols

GET Request

Gets the resource of the symbol type.

Request parameters

There are two more parameters behind the question mark of the URL, returnSymbolForm_ByID and returnSymbolForm_ByPath, represent the two ways of get the child resources, this two parameters are mutually exclusive, and can not be used at the same time.

Field Type Definition
returnSymbolForm_ByID Boolean Get the corresponding symbol resource files according to symbol ID, such 2D or 3D Marker ID, 3D Line ID, 3D Line model ID, 3D Line's baseline ID and model ID.
returnSymbolForm_ByPath Boolean Get link symbol resource file according to its relative path to the current workspace.
_cache boolean Whether to use cache, the default is True. False means close all the cache.

Example of response

Input the following URI will return the symbols resource page, the default output format is HTML.

http://localhost:8090/iserver/services/3D-sample/rest/realspace/symbols

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

See