[Tilecache] tilecache-mapnik
Don Martin
donm at alaska.net
Sun Aug 17 17:11:57 EDT 2008
A little more testing and snagging firefox info:
With
map = new OpenLayers.Map( $('map'),
{
maxExtent: new
OpenLayers.Bounds(-19480910.88611111,6800125.453450721,-15584728.70888888,11753184.613702394),
numZoomLevels:18,
maxResolution:156543.033900000,
units:'m',
projection: "EPSG:900913",
displayProjection: new OpenLayers.Projection("EPSG:4326")
} );
var layerMapnik = new OpenLayers.Layer.WMS("dispatch",
"tilecache.py?", { layers: 'osm-merc', 'type':'png' });
map.addLayer(layerMapnik);
var lonLat = new OpenLayers.LonLat(-149.9, 61.175) ;
lonLat.transform(map.displayProjection,map.getProjectionObject());
map.setCenter(lonLat, 5);
[osm-merc]
type=MapnikLayer
mapfile=C:\mapnik\osm.xml
bbox=-19480910.88611111,6800125.453450721,-15584728.70888888,11753184.613702394
resolutions=156543.0339,78271.51695,39135.758475,19567.8792375,9783.93961875,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
srs=EPSG:900913
metaTile=true
metaBuffer=40
spherical_mercator=true
Firefox right-click renders:
An error occurred: Current x value -18228566.614911 is too far from tile
corner x -18785164.068800
Don
--
View this message in context: http://www.nabble.com/tilecache-mapnik-tp19016808p19023429.html
Sent from the TileCache mailing list archive at Nabble.com.
More information about the Tilecache
mailing list