[osmosis-dev] duplication of nodes on apply-change
Maxim Dubinin
sim at gis-lab.info
Mon Nov 16 20:50:24 GMT 2009
just updated to today's tunk - still no luck. Any suggestions why it
might be happening?
MD> Hi,
MD> I'm trying to figure out what is wrong with applying changes using
MD> osmosis (0.31.2).
MD> So for example I have such piece info in source OSM XML:
MD> <node id="244256" version="3" timestamp="2008-12-24T21:46:45Z"
MD> uid="69864" user="Ivan Komarov" changeset="585532"
MD> lat="59.8522186" lon="30.3377485"/>
MD> The change file, that I apply (20091112-20091113.osc.gz) contains
MD> some mods for this node:
MD> <node id="244256" version="4" timestamp="2009-11-12T20:17:19Z"
MD> uid="143266" user="Sergey Astakhov" changeset="3101326"
MD> lat="59.8522186" lon="30.3377485">
MD> <tag k="highway" v="traffic_signals"/>
MD> </node>
MD> But after I do:
MD> osmosis --read-xml-change file="data/updates/20091112-20091113.osc.gz"
MD> --read-xml file="data/rus.osm" --apply-change --write-xml file="data/rus-new.osm"
MD> I'm getting two versions of the same node in the output:
MD> <node id="244256" version="3" timestamp="2008-12-24T21:46:45Z"
MD> uid="69864" user="Ivan Komarov" changeset="585532"
MD> lat="59.8522186" lon="30.3377485"/>
MD> <node id="244256" version="4" timestamp="2009-11-12T20:17:19Z"
MD> uid="143266" user="Sergey Astakhov" changeset="3101326"
MD> lat="59.8522186" lon="30.3377485">
MD> <tag k="highway" v="traffic_signals"/>
MD> </node>
MD> Is this duplication erroneus or am I missing something obvious?
MD> Maxim
More information about the osmosis-dev
mailing list