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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

getTile<br />

32<br />

Parameter<br />

row<br />

output<br />

Returns<br />

A map image.<br />

Type<br />

Integer<br />

String<br />

Required<br />

yes<br />

yes<br />

Description<br />

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

• The name parameter is not 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 jpg.<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 col parameter is less than 1.<br />

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

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

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

Example<br />

http://localhost:8080/rest/Enterprise<strong>Map</strong>ping/Legacy<strong>Map</strong><strong>Tiling</strong><strong>Service</strong>/getTile?<br />

name=/NamedTiles/WorldTile<br />

&level=2<br />

&col=1<br />

&row=1<br />

&dpi=96<br />

&output=png<br />

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

<strong><strong>Map</strong>Info</strong> <strong>Spatial</strong> <strong>Server</strong> 1.0

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

Saved successfully!

Ooh no, something went wrong!