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

John3478 John3478 john3478 at gmail.com
Wed Jan 28 00:26:28 GMT 2009

I am still stuck in rendering zoom level 8 to 16.
1. From postgres sql log, I can see if I modify the table name in osm.xml,
it will prompt table not found. So, it seems like it able to connect to
database. but I am stuck why it is not able to render any data from
database. looks like its only get data from boundary.
-----also in the postgres log file
%t LOG:  could not receive data from client: No connection could be made
because the target machine actively refused it.
%t LOG:  unexpected EOF on client connection

Do you guys know what is the problem? (it is in windows environment) (Iam
able to run demo from the shape file just fine)
- PostgreSQL 8.3 , postgis 1.3.5
- python 2.5
- mapnik 0.5.1

I try to figure it out, is it still the database problem not able to return
the data or it is the osm.xml stylesheet that I need to troubleshoot.

thanks in advance

On Mon, Jan 26, 2009 at 12:15 PM, John3478 <John3478 at gmail.com> wrote:

> I am able to generate tiles using "generate_tiles.py".
> http://svn.openstreetmap.org/applications/rendering/mapnik/generate_tiles.py
> It did create tiles up to zoom level 7 but it did not create any more from
> 8
> to 16 (I am using the extracted california osm file from cloudmate.) Also,
> it did not print any road at all eventhough the database has road details
> My question is, is this below statement (from generate_tiles.py) supposed
> to
> print road detail? Or I need to add more statement to it
> --------- this what I try to create-----------------
> bbox = (-122.52862930297852, 37.81127577036112, -122.34237670898438,
> 37.682190082863734)
> render_tiles(bbox, mapfile, tile_dir, 1, 16, "San Francisco")
> --------------------------------------------
> --
> View this message in context:
> http://www.nabble.com/Begginer-question%3A-Why-road-is-not-rendered-in-mapnik--tp21669227p21669227.html
> Sent from the OpenStreetMap - General mailing list archive at Nabble.com.
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20090127/868b482d/attachment.html>

More information about the talk mailing list