On Fri, 2009-01-30 at 14:52 -0800, John3478 John3478 wrote:
>  When debugging, I tried to change the code by adding one to the range
> of the y loop, it generate road for the one level down. ""for y in
> range(int(px0[1]/256.0),int(px1[1]/256.0)+2)". but did not generate
> image after zoom level 12+
> 

If changing +1 to +2 makes a difference then maybe you've got the
co-ordinates of your bounding box mixed up. What are you using?

It should be: minX, minY, maxX, maxY like...

bbox = (-180.0,-90.0, 180.0,90.0)

If you've got some negative values it is easy to get confused between
min & max. The min should be the most negative value, e.g.

bbox = (-20.0,-20.0, -10.0,-10.0)


        Jon


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

Reply via email to