Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the tilecache.cfg the cache base path must be the escaped full path to the location for tile images, e.g.:

Code Block
title[cache]
[cache]
type=Disk
base=d:\\TileCache\\Cache

...

There will be a [layer_name] section for each basemap Map Source. In the following example this is called [base_standard]. For details of all of the configuration entries please refer to the TileCache documentation.

Code Block
title[layer_name]
[base_Standard]
type=WMS
url=http://localhost/cgi-bin5.2/mapserv?map=D:\\Maps\\Workshop\\_MapServerConfig\\base_Standard.map
extension=png
srs=EPSG:27700
layers=base_Standard
resolutions=72,38,25,16.6666076469763,8,5.29174706467881,3.52811834926054,2.11677453194175,1.05865549688159,0.5,0.25,0.125
bbox=429349, 558276, 442121, 569136
watermarkImage=D:\Astun\Workshop\Web\images\astun\watermark.png
watermarkOpacity=0.5

...