Jon Burgess wrote:

> Have you adjusted the 'extent' parameters for your layers in the osm.xml
> file:

> <Parameter name="extent">-20037508,-19929239,20037508,19929239</Parameter>

> You could simply try removing all those lines. This will cause Mapnik to
> query the DB to work out the extents. This will be slow since it has to
> scan all the data.

> The default extent represents the whole Earth in spherical mercator. I
> have not tried any UTM projections but we've seen issues previously when
> wrapping occurs during reprojection. It can lead to the sorts of odd
> bounding boxes like you are seeing where a 'minimum' co-oridinate in one
> co-ordincate system wraps and becomes a maximum when projected.

> The default extent numbers will be completely bogus if you've
> reprojected all the source data.

Ah, I did not bother. I just checked that extent was for sure big enough to 
cover my data in UTM.  I removed the lines and result looks much better now.  
It may even be correct but I have to do further investigations later.  Thanks a 
lot for the hint. I should have been thinking about it.

-Jukka-
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to