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.

Adding and Modifying Named Tiles<br />

Adding and Modifying Named Tiles<br />

The <strong>Map</strong> <strong>Tiling</strong> <strong>Service</strong> uses named tiles to render maps. The named tiles are stored in the repository<br />

located in the NamedTiles directory under the root repository. For example, a default installation will<br />

place the named tile definition files at http://localhost:8080/Repository<strong>Service</strong>/repository/default/NamedTiles<br />

To add or modify named tiles in the repository, perform the following:<br />

1. You must be located on the local machine hosting <strong><strong>Map</strong>Info</strong> <strong>Spatial</strong> <strong>Server</strong> and the repository.<br />

2. Use a standard WebDAV protocol tool to access the repository (e.g., Windows WebFolders, DAVExplorer,<br />

etc.) and either add or copy the named tiles to or from the repository.<br />

For examples of using standard WebDAV tools, see Accessing the Repository using WebDAV<br />

Named tiles do not have a file extention, only a name. For a description of the parameters to define<br />

named tiles, see:<br />

Defining Named Tiles<br />

14<br />

Named tiles are stored in the repository, and define how an individual hosted named map is used by the<br />

<strong>Map</strong> <strong>Tiling</strong> <strong>Service</strong>. For each map you want to expose through the <strong>Map</strong> <strong>Tiling</strong> <strong>Service</strong> you must have<br />

an equivalent named tile. In the named tile file, the NamedTile element contains the parameters that<br />

define the named tile, each of which contains some or all of the following list of child elements:<br />

Parameter<br />

DisplayName<br />

Description<br />

ResourceLocation<br />

Projection<br />

Type<br />

string<br />

string<br />

string<br />

string<br />

Required<br />

yes<br />

yes<br />

yes<br />

yes<br />

Description<br />

The alias of the named map stored in the map repository.<br />

This alias can be different than the actual<br />

name of the named map, and will be used in the<br />

tiling service requests to call the named tile.<br />

The metadata description of the named map. This<br />

information is presented to the user when a getDescription<br />

call is sent to the <strong>Map</strong> <strong>Tiling</strong> <strong>Service</strong>.<br />

The directory and name of the actual named map<br />

in the repository, from the repository base. For ex-<br />

ample, if the named map is located at http://localhost:8080/Repository<strong>Service</strong>/repository/default/Named<strong>Map</strong>s/World,<br />

then you would define<br />

the ResourceLocation as /Named<strong>Map</strong>s/World.<br />

Note:<br />

You must specify the starting '/'<br />

The coordinate system projection to host the named<br />

map. The <strong>Map</strong> <strong>Tiling</strong> <strong>Service</strong> will transform the<br />

named map into the projection defined. The projection<br />

is defined using the EPSG format.<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!