[Tile-serving] [osm2pgsql] delete_node failed: ERROR: prepared statement "delete_node" does not exist (#100)

Ander notifications at github.com
Tue Nov 19 12:20:24 UTC 2013


osm2pgsql -c -j --slim -d osm -U gisuser -W -H localhost -P 5432 file.osm

We were using osm2pgsql to import data generated by Cat2Osm2 which is a tool for exporting Spanish Cadastre Data to OSM format. Cat2Osm2 file format was made following what we found on OSM wiki and looking at JOSM exported OSM files. The elements are not ordered (there could be node declarations, then some ways and then again some other node declarations), but the nodes a way needs and ways a relation needs are always declared before their 'parent' element. Here is a piece of a demo file : http://pastebin.com/raw.php?i=FsebFmN8

If you want a whole file or you know which the problem could be please let us know. Thank you very much.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/100#issuecomment-28785586
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20131119/43d2b919/attachment.html>


More information about the Tile-serving mailing list