On Tue, 2009-01-27 at 16:26 -0800, John3478 John3478 wrote: > 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.
If some zooms are working fine but others are not then it suggests that maybe you need to change more of the Postgis usernames & passwords in the osm.xml file. By my counting there are 29 instances of DB username & password in the file. You might find it easiest to start with the osm-template.xml file which has special tokens like DBPASS, DBUSER. Normally you'd run this through the customize-mapnik-map Perl script but I'm unsure how well this will work on Windows due to the use of environment variables. You could just use a search and replace in a text editor instead. Jon _______________________________________________ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk