Hi everyone,
I imported the data successfully into pgsql and I'm now up to generating the
tiles but ran in to this error, help?
[root@kbacon mapnik]# ./generate_tiles.py
render_tiles( (-180.0, -90.0, 180.0, 90.0) /opt/mapnik/osm.xml
/opt/mapnik/tiles/ 0 5 World )
PostGIS: SRID warning, using srid=-1
Traceback (most recent call last):
File "./generate_tiles.py", line 209, in <module>
render_tiles(bbox, mapfile, tile_dir, 0, 5, "World")
File "./generate_tiles.py", line 130, in render_tiles
renderer = RenderThread(tile_dir, mapfile, queue, printLock, maxZoom)
File "./generate_tiles.py", line 59, in __init__
mapnik.load_map(self.m, mapfile, True)
RuntimeError: PSQL error:
ERROR: relation "_polygon" does not exist
LINE 4: from _polygon
^
Thanks!
-Keith
Previously:
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"planet_osm_nodes_pkey" for table "planet_osm_nodes"
Setting up table: planet_osm_ways
NOTICE: table "planet_osm_ways" does not exist, skipping
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"planet_osm_ways_pkey" for table "planet_osm_ways"
Setting up table: planet_osm_rels
NOTICE: table "planet_osm_rels" does not exist, skipping
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"planet_osm_rels_pkey" for table "planet_osm_rels"
Reading in file: ./usa.osm.bz2
Processing: Node(373497k) Way(22634k) Relation(107741) parse time: 27723s
Node stats: total(373497843), max(1300335142)
Way stats: total(22634330), max(114909980)
Relation stats: total(107741), max(1601257)
Going over pending ways
processing way (6474k)
Going over pending relations
node cache: stored: 241502402(64.66%), storage efficiency: 89.97%, hit rate:
64.26%
Stopping table: planet_osm_nodes
Stopping table: planet_osm_ways
Stopping table: planet_osm_rels
Committing transaction for planet_osm_polygon
Committing transaction for planet_osm_roads
Committing transaction for planet_osm_point
Committing transaction for planet_osm_line
Stopped table: planet_osm_nodes
Building index on table: planet_osm_rels
Sorting data and creating indexes for planet_osm_roads
Sorting data and creating indexes for planet_osm_point
Sorting data and creating indexes for planet_osm_line
Sorting data and creating indexes for planet_osm_polygon
Building index on table: planet_osm_ways
Stopped table: planet_osm_rels
Completed planet_osm_roads
Completed planet_osm_point
Completed planet_osm_polygon
Completed planet_osm_line
Stopped table: planet_osm_ways_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users