On Fri, 2009-01-30 at 23:35 +0000, Jon Burgess wrote:
> 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)


I see in one of your other emails...

ll = (-122.50699996948242, 37.77783827028162,  -122.4539566040039,
37.74682893940135)

This should be:

ll = (-122.50699996948242, 37.74682893940135,  -122.4539566040039,
37.77783827028162 )

        Jon


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

Reply via email to