hello

i'm new to this list and to mapnik.   So far the documentation was very 
helpful, but now i'm kind of stuck...

i'm trying to get mapnik 0.7.1 working working on an ubuntu 10.04 (32bit) 
system. 
with osm2pgsql i imported planet-benelux into the database

but when I render with mapnik i get only coastlines and lot of empty folders, 
which is behaviour described in the 'trouble shooting' section of this page 
http://wiki.openstreetmap.org/wiki/Mapnik#Troubleshooting
however the page doesn't explain how to check/troubleshoot that exactly. 

compiling 0.7.1 went without obvious errors (i'm no expert in this, but it 
seems to work). PostGIS was installed on my system, but I don't know if i built 
mapnik with or without PostGIS support.  I followed (copy pasted) these 
instructions: http://trac.mapnik.org/wiki/UbuntuInstallation

Connecting to the postgresql database works I guess: 
--------------------
$ psql gis toyfoo
psql (8.4.4)
Type "help" for help.

gis=> \d
             List of relations
Schema |        Name        | Type  | Owner  
--------+--------------------+-------+--------
public | geometry_columns   | table | toyfoo
public | planet_osm_line    | table | toyfoo
public | planet_osm_nodes   | table | toyfoo
public | planet_osm_point   | table | toyfoo
public | planet_osm_polygon | table | toyfoo
public | planet_osm_rels    | table | toyfoo
public | planet_osm_roads   | table | toyfoo
public | planet_osm_ways    | table | toyfoo
public | spatial_ref_sys    | table | toyfoo
(9 rows)
-----------------------

this is what i get when running mapnik:
----------------------
toy...@toyfoo-laptop:~/mapnik2$ ./generate_xml.py --dbname gis --accept-none
Include files written successfully! Pass the osm.xml file as an argument if you 
want to serialize a new version or test reading the XML

toy...@toyfoo-laptop:~/mapnik2$ MAPNIK_MAP_FILE="osm.xml" 
MAPNIK_TILE_DIR="tileshasselt/" ./generate_tiles.py
render_tiles( (5.2370999999999999, 50.987499999999997, 50.866900000000001, 
5.4808000000000003) osm.xml tileshasselt/ 1 12 Hasselt )
Hasselt : 2 2 1  
Hasselt : 1 1 0  
-----------------------
which gives me only empty folders.  (tried generate_xml.py with added username 
(toyfoo) and password as well. 

I remember having a RuntimeError: PSQL error:
ERROR:  column "shop" does not exist
But i got rid of it by removing the amenities layer in one of the inc files.
It might mean something though...

Do you have an idea what I could try?  

many thanks
Thomas

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

Reply via email to