[OSM-talk] Reduce osm jile size in JOSM

Matthias Julius lists at julius-net.net
Fri May 18 15:00:08 BST 2007


Frederik Ramm <frederik at remote.org> writes:

> Hi,
>
>> Is there a convenient way to reduce the extents of an osm file by
>> removing data without deleting anything (since this would delete the
>> data from the server at the next upload)?
>
> Don't know what counts as "convenient" with you but there are several 
> perl scripts that do this, check
>
> applications/utils/osm-extract/README
>
> in SVN. Most likely you'll settle for planetosm-excerpt-area.pl where 
> you'll specify a bounding box on the command line.

I will check that out, thanks.

"Convenient" is something that doesn't require me to edit the osm file
by hand.  I was already thinking about writing a script that removes
everything with action="delete" or with a special tag.

Matthias





More information about the talk mailing list