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.

Parameter<br />

MimeList<br />

<strong>Map</strong>Resolution<br />

<strong>Map</strong>Rendering<br />

RenderLabels<br />

PadFactor<br />

Type<br />

string<br />

integer<br />

string<br />

boolean<br />

integer<br />

Required<br />

no<br />

no<br />

no<br />

no<br />

no<br />

Description<br />

Note:<br />

The ExpirationDate parameter has effect<br />

only when using external caching software<br />

such as Squid or Apache.<br />

The available types of tiles generated by the tile<br />

server for named tiles when the MimeList is not<br />

specified.<br />

The resolution of the tile images in dots per inch<br />

(the number of individual dots that can be placed<br />

within the span of one linear inch). The minimum<br />

dpi you can define is 72, anything less would render<br />

a poor quality image. If a value less than 72 is<br />

defined, the service will throw an exception.<br />

The rendering quality (anti-alias) of the tile images<br />

generated. You can specify either Speed or Quality.<br />

If <strong>Map</strong>Rendering is not specified in either the<br />

global configuration or in a named tile, the default<br />

rendering quality is Speed.<br />

Tells the service not to render LabelLayers when<br />

generating a tile. The value is case-insensitive. If<br />

RenderLabels is not specified in either the global<br />

configuration or in a named tile, the default is 'true'.<br />

Used to prevent the clipping of labels when a label<br />

crosses a tile boundary. The PadFactor controls<br />

the amount of space is rendered around the requested<br />

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

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

on. If PadFactor is not specified in either the<br />

global configuration or in a named tile, the default<br />

is 1.0.<br />

Internally, the <strong>Map</strong> <strong>Tiling</strong> service draws tiles to an offscreen bitmap (OSBM) (e.g., BufferedImage). To<br />

help speed up rendering of tiles by reducing garbage collection pauses, pools of offscreen bitmaps may<br />

be used to avoid constantly creating new ones. The OSBMPooling configuration controls how the offscreen<br />

bitmaps are created in memory.<br />

Note:<br />

If the OSBM pooling section of the configuration is removed, then pooling will not be enabled.<br />

The following are OSBM configuration paramters:<br />

Parameter<br />

MaxActive<br />

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

Type<br />

integer<br />

Chapter 2: Managing <strong>Map</strong> <strong>Tiling</strong> Resources and Configuration<br />

Required<br />

no<br />

Description<br />

Controls the maximum number of offscreen bitmaps<br />

(per tile dimension) that can be allocated by the<br />

pool (checked out to client threads, or idle in the<br />

pool) at one time. When non-positive, there is no<br />

limit to the number of objects per key. When this<br />

value is reached, the keyed pool is said to be ex-<br />

9

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

Saved successfully!

Ooh no, something went wrong!