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

sly - sylvain letuffe notifications at github.com
Tue Nov 19 14:44:46 UTC 2013


I couldn't tell if that will still work, but what I did (like 1 year ago) was to replace negative ids by positive ids not colliding with ids from the osm database.

I did that with a simple find and replace statement with sed like replacing <node id='-  by <node id='10000000000
(so that even if you have an id of "-1" it will be converted to a positive integer above current osm's max node id+margin)
Same for ways and relations, and their members



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


More information about the Tile-serving mailing list