[Tilecache] tilecache-mapnik
Don Martin
donm at alaska.net
Mon Aug 18 03:49:59 EDT 2008
XiaoyuGuan wrote:
>
> 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
>
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache
>
>
Hi Xiaoyu - thanks for the suggestion.
Tried both and with both if I right click on a pink tile and select view
image I get a dialog:
Opening tilecache.py
You have chosen to open tilecache.py
Which is a python file
From: localhost
Would you like to save this file?
Two buttons 'save file' and 'cancel'
...as if the OL code syntax is incorrect?
Don
--
View this message in context: http://www.nabble.com/tilecache-mapnik-tp19016808p19027185.html
Sent from the TileCache mailing list archive at Nabble.com.
More information about the Tilecache
mailing list