Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ./generate_xml.py osm.xml myosm.xml --dbname gis --host localhost --password gis --port 5432 --user gis --accept-none
- Traceback (most recent call last):
- File "./generate_xml.py", line 201, in <module>
- serialize(template_xml,options)
- File "./generate_xml.py", line 77, in serialize
- mapnik.load_map(m,xml,True)
- RuntimeError: PSQL error:
- ERROR: relation "planet_osm_polygon" does not exist
- LINE 4: from planet_osm_polygon
- ^
- Full sql was: 'select * from
- (select way,aeroway,amenity,landuse,leisure,man_made,military,"natural",power,tourism,name,highway,
- case when religion in ('christian','jewish') then religion else 'INT-generic'::text end as religion
- from planet_osm_polygon
- where landuse is not null
- or leisure is not null
- or aeroway in ('apron','aerodrome')
- or amenity in ('parking','university','college','school','hospital','kindergarten','grave_yard')
- or military in ('barracks','danger_area')
- or "natural" in ('field','beach','desert','heath','mud','wood','sand','scrub')
- or power in ('station','sub_station','generator')
- or tourism in ('attraction','camp_site','caravan_site','picnic_site','zoo')
- or highway in ('services','rest_area')
- order by z_order,way_area desc
- ) as leisure
- limit 0'
- (encountered during parsing of layer 'landcover')
Add Comment
Please, Sign In to add comment