[OSM-talk] sanity check for maintaining GPS tracks

Michael Eric Menk mikemenk at yahoo.no
Wed Apr 14 17:31:55 BST 2010


On 04/13/2010 11:50 AM, maning sambale wrote:
> I have hundreds of GPS tracks. Some are uploaded in OSM, some I forgot
> to upload.  Some are clean, some are dirty, some are squiggly and some
> are a big cloud of points pointing to my house.
>
> Any advice on how to maintain/clean the tracks before uploading?
>
>    
The cloud around your house are points that have a low quality.

By removing low quality nodes, the cloud largely disappear.

On my GSP, when the claimed accuracy is 3m, then it can be 40m + wrong, 
therefor I remove all HDOP larger than 2m.

The clouds disappears (and some bad points on the road.)

You can also ask gpsbable to remove points X km from a defined lat,lon.

Below is my cleaning-script, gpsbable can also run on MS Windows.
----8<----8<----8<----8<
  #!/bin/sh
gpsbabel -i gpx -f $1 -x discard,hdop=2 -o gpx -F $(basename $1 .gpx 
).del_hdup2.gpx
----8<----8<----8<----8<

Linkes:
http://wiki.openstreetmap.org/wiki/Gpsbabel
http://wiki.openstreetmap.org/wiki/Using_filters_with_GPSBabel

-- 
Michael Eric Menk
Linkedin: http://no.linkedin.com/in/mikemenk





More information about the talk mailing list