[Tilecache] tilecache-mapnik

Xiaoyu Guan guanxiaoyu at gmail.com
Mon Aug 18 03:10:52 EDT 2008


Hi Don:
I was have similar situation of TileCache. there is an issue you have to pay
attention to. The issue is that the parameters of OpenLayers and TileCache
have to be extractly same.
Have you try config TileCache like this?

[osm-merc]
type=MapnikLayer
mapfile=C:\mapnik\osm.xml
bbox=-16697000,8610000,-16667000,8640000
resolutions=156543.033900000,78271.516950000,39135.758475000,19567.879237500,9783.939618750,4891.969809375,2445.984904688,1222.992452344,611.496226172,305.748113086,152.874056543,76.437028271,38.218514136,19.109257068,9.554628534,4.777314267,2.388657133,1.194328567,0.59716428337097171575,0.298582142
levels = 18
srs=EPSG:900913
metaTile=yes
metaBuffer=40

OR

[osm-merc]
type=MapnikLayer
mapfile=C:\mapnik\osm.xml
bbox=-16697000,8610000,-16667000,8640000
maxResolution = 156543.0339/4
levels = 18
srs=EPSG:900913
metaTile=yes
metaBuffer=40

Best regards

Xiaoyu

-- 
Xiaoyu Guan (Sam)
Geo-information Science
Wageningen UR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20080818/9fe98c03/attachment.html


More information about the Tilecache mailing list