[OSM-talk] [RESOLVED]Re: Begginer question: Why road is not rendered in mapnik?

John3478 John3478 john3478 at gmail.com
Sat Jan 31 00:42:39 GMT 2009


Problem resolved. The problem is in bbox, it supposed to be using "minX,
minY, maxX, maxY". Thanks for "Jon Burgess" who resolved the issues.


On Fri, Jan 30, 2009 at 12:53 AM, John3478 John3478 <john3478 at gmail.com>wrote:

> I think, I narrow down the problem. The original generate_tiles from this
> links below does not generate roads. This very strange because openstreetmap
> use similar script to generate road
>
> http://svn.openstreetmap.org/applications/rendering/mapnik/generate_tiles.py
>
> I try to change the code by adding one to the range, it now 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+
>
> http://img502.imageshack.us/img502/7779/792kz0.png
>
> Does any body have generate_tiles.py that also generate roads?
>
> Thanks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20090130/ab52cd2c/attachment.html>


More information about the talk mailing list