vectorSymbol


URI

<vectorSymbols_uri>/{layerName}[.<format>]

Supported methods

GET, HEAD

Parent resource

vectorSymbols

Introduction

The vectorSymbol resource represents the map symbol. It can be a point symbol, a line symbol, a fill symbol, getting the corresponding symbol image by executing a GET request on a URI.

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 png being the output format.

http://supermapiserver:8090/iserver/services/map-svtiles-China/rest/maps/China/tileFeature/symbols/SYMBOLMARKER__TraStation_pt@POI_Other__64__64__true__1463419621.png

GET request

Acquires a symbol image.

Request parameter

Send GET request to vectorSymbol via URL.

Response structure

None

Response example

Perform GET request on the vectorSymbol resource: http://supermapiserver:8090/iserver/services/map-China400/rest/maps/China/tileFeature/symbols/SYMBOLMARKER__beijing@China__64__64__true__12081270.png

The returned point symbol is as follows:

HEAD request

Returns the same HTTP response header as the GET request, but does not have the response entity. It can get the metadata information in the response header without transferring the whole response content. Metadata information includes media type, character encoding, compression encoding, entity content length, and so on.

The HEAD request can be used to determine whether the vectorSymbol resource exists or whether the client has authority to access the resource. It can quickly determine whether the vectorSymbol resource supports the representation in <format> format by performing HEAD request on URI with <format>.

See