[OSM-talk] Re: osm-filter.pl observations

Joerg Ostertag (OSM Munich/Germany) openstreetmap at ostertag.name
Wed Aug 9 16:25:18 BST 2006


> osm.txt (--check_against_osm)
> *****************************
>
> I found it fairly straightforward to download just my area with JOSM,
> and then convert that to osm.txt, as you described.  I did not use the
> create.sh method, as this other method makes it possible to keep my own
> osm.txt up to date, after I commit my edits. The steps I used are:
>
>   - In JOSM get an appropriate area in view. Define a JOSM bookmark.
>   - Remove all current layers.
>   - Download from Server ("raw gps data" unchecked), using the bookmark.
>   - Click Save.
>   - Change to Files of Type: OSM Server Files.
>   - Type an appropriate name (say, local.osm).
>   - Create a subdirectory called Data, to the directory where your .osm
> file is.
>   - In a shell run something like:
>     svn.openstreetmap.org/utils/osm-pdf-atlas/planet_osm2txt.pl local.osm
>   - In the Data subdirectory find the file osm.txt.
>   - Copy osm.txt to one of the locations specified in osm-filter.pl -h,
> such as ~/.gpsdrive/MIRRORS/osm/osm.txt


Checkout Revision 1226.
I just added an new possibility to read the file:
 --check_against_osm=filename.osm
will read an xxx.osm file and hopefully check against this files content.
I didn't check completely yet, but at least it seems to read the data for now.
If it works it should shorten your procedure a lot.

If you can give me feedback would be great.

-
Joerg






More information about the talk mailing list