openstreetmap / trac-tickets

Archived Trac Tickets
1 stars 1 forks source link

failed to append changeset #4175

Open openstreetmap-trac opened 3 years ago

openstreetmap-trac commented 3 years ago

Reporter: ieskok [Submitted to the original trac issue database at 6.28am, Saturday, 7th January 2012]

osm2pgsql fails when appending a changeset file: ... Reading in file: test.osc osm2pgsql: parse-xml2.c:101: StartElement: Assertion `xlon' failed. Aborted

Revision: 27409 test file: <?xml version='1.0' encoding='UTF-8'?>

openstreetmap-trac commented 3 years ago

Author: amm [Added to the original trac issue at 10.55pm, Saturday, 27th October 2012]

osm2pgsql currently requires that nodes contain lat / lon info in the delete action.

It looks like osmconvert does not add lat / lon to nodes for deletes, which is what chokes osm2pgsql.

openstreetmap-trac commented 3 years ago

Author: pnorman [Added to the original trac issue at 10.36am, Tuesday, 3rd January 2017]

ieskok, does this happen with modern osm2pgsql? (0.90.0 or later)