On Sun, Dec 13, 2009 at 1:57 PM, Jonas Krückel <o...@jonas-krueckel.de> 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 
> to have any id's changed etc. How can I save it this way? I'm going to 
> process the file locally with other tools and therefore don't need and want 
> this extra information.

If you made the edits in josm then you will get the modified flags.
you can just strip them out with a little command line magic.

sed -e 's;action='delete';;g'  -e 's;action='modify';;g' test.osm

that will strip out the delete and modify action.s from an osm file.


mike

_______________________________________________
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to