Hello all, This is what I did:
This little error troubles me now for some days; it is really frustrating, has anyone an idea of how to proceed? Is the patch mentioned in this message already part of mapnik_2.0.1.RC0? A sample snapshot from the generated slippy map can be viewed at original post on mapnik forum Kind regards, Dieter asked 09 Aug '12, 08:11 19melo00 |
generate_tiles.py uses spherical mercartor for calculating how big the tiles should be. And generate_image.py overrides the projection used in the style. You need to tweak these programs a bit to work with other projections. answered 09 Aug '12, 10:53 Gnonthgol ♦ Gnonthgol, thanks for your answer. As I understand you, the problem might be due to the transformations between my map's srs and the class GoogleProjection used to calculate the tiles? I have checked the srs used within the map (and passed to the generate_tiles.py), that's excactly the one I intented to use (UTM 2157 with the settings above). I have no idea how this 'bug' happens, but I can nail it down to the allignment of tiles. The error is more than one pixel, so simple rounding errors seem not to be the case. Can you give me some additional hints for the tweaking? Thanks so far!
(10 Aug '12, 13:04)
19melo00
|