[OSM-talk] Osmosis help

Milenko milenko at king-nerd.com
Wed Dec 5 23:01:49 GMT 2007


I'm trying to get a changes file from two osm files saved by JOSM.  I can only seem to get osmosis to output changes in ways in the files and not changes in nodes.  It seems to completely ignore nodes that were deleted.  Is this by design, or am I doing something wrong?

The command line I'm using is ./osmosis --read-xml file="original.osm" --read-xml file="after.osm" --derive-change --write-xml-change file="changes.osc"

I get a changes.osc, but it has info about the ways, and not any nodes that were deleted.  So if I load the original.osm in JOSM, delete a node then save the file as after.osm, then run the above command I get no output.  If I also delete or change a way before saving then I get output, but only about the way.

I also tried sorting the osm files first, but that didn't seem to make a difference.

Thanks,

-Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20071205/6c2b6e6e/attachment.html>


More information about the talk mailing list