04.02.2013 Views

MapInfo Spatial Server Map Tiling Service - Product Documentation ...

MapInfo Spatial Server Map Tiling Service - Product Documentation ...

MapInfo Spatial Server Map Tiling Service - Product Documentation ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Example<br />

http://localhost:8080/rest/Enterprise<strong>Map</strong>ping/<strong>Map</strong><strong>Tiling</strong><strong>Service</strong>/mapList.json<br />

The following example shows the format of the JSON object returned in the response:<br />

{"Response":["/NamedTiles/WorldTile","/NamedTiles/UKCountriesTile"]}<br />

Returns<br />

An array of String values returned in a JSON response object. This is the list of available named maps<br />

for the <strong>Map</strong> <strong>Tiling</strong> <strong>Service</strong>.<br />

Description<br />

Description<br />

Returns the metadata of a specified named tile for the <strong>Map</strong> <strong>Tiling</strong> <strong>Service</strong>.<br />

HTTP GET URL Format<br />

The following format is used for HTTP GET requests:<br />

HTTP GET /{mapname}/description.json<br />

Parameters<br />

For information on the parameter types listed below, see Request URL Data Types on page 46.<br />

Parameter<br />

mapname<br />

Example<br />

Type<br />

String<br />

Required<br />

yes<br />

Description<br />

The name of the named tile to return the metadata<br />

for. You must specify the path inside the repository<br />

where the named tile is located.<br />

http://localhost:8080/rest/Enterprise<strong>Map</strong>ping/<strong>Map</strong><strong>Tiling</strong><strong>Service</strong>/NamedTiles/WorldTile/description.json<br />

The following example shows the format of the JSON object returned in the response:<br />

{"Response":{"numberOfLevels":20,"coordSys":"epsg:41001","description":"<strong>Map</strong><br />

Of The World","mapName":"World","tileWidth":256,"tile-<br />

Height":256,"bounds":{"maxX":2.0E7,"maxY":2.0E7,"minX":-2.0E7,"minY":-<br />

2.0E7},"outputTypes":["image/png","image/jpeg","image/gif"],"mapResolution":110,"mapRendering":"SPEED"}}<br />

<strong>Map</strong> <strong>Tiling</strong> <strong>Service</strong> Guide<br />

Chapter 3: <strong>Map</strong> <strong>Tiling</strong> REST Interface<br />

21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!