[josm-dev] Save OSM file without information about changed data

2009-12-13 Thread Jonas Krückel
Hi, I've loaded a local .osm file into JOSM and deleted some relations. Now I want to save this file, but without the information about what I have edited. I don't want to have the action= tags in the .osm file and I also don't want to have any id's changed etc. How can I save it this way? I'm

Re: [josm-dev] Save OSM file without information about changed data

2009-12-13 Thread jamesmikedup...@googlemail.com
On Sun, Dec 13, 2009 at 1:57 PM, Jonas Krückel wrote: > Hi, > > I've loaded a local .osm file into JOSM and deleted some relations. Now I > want to save this file, but without the information about what I have edited. > I don't want to have the action= tags in the .osm file and I also don't want

Re: [josm-dev] Save OSM file without information about changed data

2009-12-13 Thread jamesmikedup...@googlemail.com
This attached perl filter "purge.pl" will remove nodes marked a deleted. you can extend it for ways as well. usage : perl purge.pl version2.osm > version21.osm test : mdup...@introspector-desktop:~/Desktop$ diff version2.osm version21.osm 2c2 < --- > 1070d1069 < mike On Sun, Dec 13, 2009