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.

Parameter<br />

x<br />

y<br />

.{image type}<br />

Returns<br />

A map image.<br />

Type<br />

Integer<br />

Integer<br />

Image Mime<br />

Required<br />

yes<br />

yes<br />

yes<br />

Description<br />

A JSON error will be returned if one of the following conditions are met:<br />

• The mapname parameter is not specified.<br />

Specifies the column of the tile, based on the<br />

level parameter specified.<br />

• The name specified is not an available named map on the <strong>Tiling</strong> <strong>Service</strong>.<br />

Specifies the row of the tile, based on the level<br />

parameter specified.<br />

Specifies the response image format. Must be png,<br />

gif, or jpeg.<br />

• The level parameter is less than the minlevel defined in the metadata for the specified map.<br />

• The level parameter is greater than the maxlevel defined in the metadata for the specified map.<br />

• The x parameter is less than 1.<br />

• The x parameter is greater than what the level dictates the map can provide.<br />

• The y parameter is less than 1<br />

• The y parameter is greater than what the level dictates the map can provide.<br />

Example<br />

http://localhost:8080/rest/Enterprise<strong>Map</strong>ping/<strong>Map</strong><strong>Tiling</strong><strong>Service</strong>/NamedTiles/WorldTile/2/1:1/tile.png<br />

The following example shows the image output returned in the response:<br />

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

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

23

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

Saved successfully!

Ooh no, something went wrong!