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.

Defining Named Tiles<br />

16<br />

Parameter<br />

Type<br />

Required<br />

The following is an example named tile definition:<br />

Description<br />

ted tile with 0 meaning no padding, 1 meaning<br />

padding of 1 tile around the requested tile and so<br />

on. If a PadFactor preference is not specified, the<br />

global preference in the configuration will be used.<br />

If neither is specified, the default is 1.0.<br />

<br />

World<br />

<strong>Map</strong> Of The World<br />

/Named<strong>Map</strong>s/World<strong>Map</strong><br />

epsg:3857<br />

1<br />

20<br />

256<br />

-20037508.34,-20037508.34,20037508.34,20037508.34<br />

<br />

image/png<br />

image/jpeg<br />

image/gif<br />

<br />

2019-12-31<br />

96<br />

Speed<br />

false<br />

1.0<br />

<br />

What Is Level?<br />

The level, in combination with the tile width, tile height, and bounds of the named map, determines the<br />

zoom level of the tiles to be returned. The level shows how close the map image is to the Earth. Level<br />

1 is the furthest away and is composed of one tile that the entire map will be drawn into. Level 2 is<br />

composed of 4 tiles, 2 across and 2 down. Each tile is a quarter of the entire map. Level 3 is composed<br />

of 16 tiles, 4 across and 4 down, and so on. The higher the level specified, the closer to the Earth the<br />

map image appears. For example, levels 1 to 3 usually show global or hemispheric detail, levels 4 to 15<br />

show county/state/province level of detail and some larger cities, levels greater that 15 show street level<br />

views.<br />

What the levels actually display is dependant on the named map hosted by the <strong>Map</strong> Tile <strong>Service</strong>. For<br />

example, a level of 1 for a world map would be zoomed out to show the entire world. However, if you<br />

have a named map of only a city (for example, New York, Toronto, or London), a level of 1 would be<br />

zoomed out to show a street level map.<br />

How Tile Height Is Calculated<br />

The tile height is calculated from the map bounds and the tile width to produce a tile that has the same<br />

aspect ratio as the bounds.<br />

The tile height is calculated using the following equation:<br />

tileHeight = (boundsHeight ÷ boundsWidth) × tileWidth<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!