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.

Accessing and Modifying the Configuration File<br />

Accessing and Modifying the Configuration File<br />

The named <strong>Map</strong> <strong>Tiling</strong> <strong>Service</strong> configuration file <strong>Map</strong><strong>Tiling</strong>Configurationis located in the Configuration<br />

directory under the root repository. For example, a default installation will place the <strong>Map</strong> <strong>Tiling</strong><br />

<strong>Service</strong> configuration file at http://localhost:8080/Repository<strong>Service</strong>/repository/default/Configuration/<strong>Map</strong>-<br />

<strong>Tiling</strong>Configuration<br />

To configure the <strong>Map</strong> <strong>Tiling</strong> <strong>Service</strong>, 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 copy the configuration file from the repository to a directory on your local machine.<br />

The <strong>Map</strong> <strong>Tiling</strong> <strong>Service</strong> configuration file is located at http://localhost:8080/Repository<strong>Service</strong>/repository/default/Configuration/<strong>Map</strong><strong>Tiling</strong>Configuration<br />

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

3. Make changes to the local <strong>Map</strong><strong>Tiling</strong>Configuration file. For parameter descriptions for the configuration<br />

file, see Global Configuration Parameters on page 8.<br />

4. Upload the modified configuration file back to the same location (and name) in the repository using<br />

your WebDAV tool.<br />

5. Use the <strong><strong>Map</strong>Info</strong> <strong>Spatial</strong> <strong>Server</strong> JMX Console to invoke the new configuration for the service. For<br />

instruction on how to reload the configuration using the JMX Console, see Reload the <strong>Service</strong><br />

Configuration using JMX Console on page 13<br />

Global Configuration Parameters<br />

8<br />

The <strong>Map</strong> <strong>Tiling</strong> <strong>Service</strong> configuration consists of a set of global parameters that define how tiles are<br />

generated. These parameters are used if optional parameters defined in the named tiles are not specified.<br />

If a named tile has defined these parameters, then the parameters in the global configuration will be<br />

overwritten.<br />

The following are global configuration paramters:<br />

Parameter<br />

RepositoryURL<br />

ExpirationDate<br />

Type<br />

string<br />

string<br />

Required<br />

yes<br />

no<br />

Description<br />

The URL defines the location of your local repository<br />

where resource are stored that are accessed<br />

by the <strong>Map</strong> <strong>Tiling</strong> service. This URL should point<br />

to the Repository <strong>Service</strong> rmi, for example: http://localhost:8080/Repository<strong>Service</strong>/rmi<br />

Note:<br />

In most instances, this URL should not be<br />

changed.<br />

The date on which the client should delete the map<br />

tile from the cache, and request a new copy from<br />

the server. The ExpirationDate value must be<br />

specified as a W3C formatted date string (for example,<br />

2013-12-31).<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!