[Tilecache] Resolution problems
Tyler Durden
tylersticky at gmail.com
Wed Jul 25 04:56:10 EDT 2007
Hi,
I'm using mapnik + tilecache + openlayers and I've some problems
adjusting the maxResolution etc.
[all]
type=MapnikLayer
mapfile=osm.xml
bbox=-12.62878,36.27686,-2.79602,43.07739
maxResolution=0.019204609
levels=10
extension=png
debug=on
[Openlayers Javascript]
map = new OpenLayers.Map('map', {maxResolution: 0.019204609,
projection : "EPSG:4326", numZoomLevels : 10});
layer_all = new OpenLayers.Layer.TMS("all",
"http://192.168.1.160:8080/", {layername: 'all', type:'png'} );
map.addLayer(layer_all);
georss = new OpenLayers.Layer.GeoRSS("Traffic (GeoRSS)",
"http://192.168.1.160/rss.xml");
map.addLayer(georss);
[/Openlayers Javascript]
The problem is my map only shows 2 tiles and my rss points doesn't
shows in the right places.
How can I adjust my resolution with the defined
bbox=-12.62878,36.27686,-2.79602,43.07739
Thanks,
Tyler
More information about the Tilecache
mailing list