David, If you do not provide an 'srs' value for a <Layer ..> in your Mapnik XML then the srs will be inherited from the <Map ..> 'srs'. In your case your Map is correctly in Spherical Mercator but your data looks to be in WGS84, or EPSG:4326. So, try changing your layer entry to look like:
<Layer name="plots" srs="+init=epsg:4326" status="on"> When I do this things appear correctly when overlaid on top of OSM tiles (when rendered with TileLite). It appears like your data is at: http://tile.openstreetmap.org/17/21050/50798.png Dane On Feb 14, 2011, at 3:22 PM, David Wiesen wrote: > When you say generate_tiles.py, do you mean this? > > http://svn.openstreetmap.org/applications/rendering/mapnik/generate_tiles.py > > When I generate the tiles myself, the lat/long calculations are correct > (well, > they match what I see here > http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/) > > but it appears that the actual shapes from the shapefile don't match up with > the base map > provided by Google once the shapes are projected onto the png file. > > Thanks, > David > > On Mon, Feb 14, 2011 at 3:15 PM, M∡rtin Koppenhoefer <[email protected]> > wrote: > I suggest you use generate_tiles.py and modify it. It will create > tiles at the same position and zoom levels then google maps. > > cheers, > Martin > > _______________________________________________ > Mapnik-users mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/mapnik-users
_______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

