Hello,

today this error message was relayed to me:

osm2pgsql: parse-xml2.c:100: StartElement: Assertion `xlon' failed.

I managed to identify the problem:

osm2pgsql persists on getting coordinates (lon/lat) even when it reads an .osc 
file and the OSM object in question is to delete.

        assert(xid); assert(xlon); assert(xlat);

An excerpt of the .osc file:

------------------------
<delete>
  <node id="53011572"/>
</delete>
------------------------

My question:
Does osm2pgsql really need the coordinates of an object which is to delete 
anyway? Is it save just to delete the line with the three assertions?

Markus

_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to