[Openstreetmap] GPX upload of spurious track points

SteveC steve at fractalus.com
Sun Sep 11 00:31:28 BST 2005


* @ 10/09/05 10:44:46 AM simon at zymurgy.org wrote:
> A few more thoughts.
> 
> There's a few cases of obvious nonsense trackpoints uploaded, through no 
> fault of the user - typically, this is due to GPS hugely incorrect fixes
> 
> (example at)
> 
> lat=52.12423307443891&lon=0.6426912178283006&scale=2.9629629629629624E-4
> 
> It might be sensible for the uploadGPX.jsp to do some sanity checks on 
> track points uploaded. I haven't found my way around the code enough to 

I'm trying to kill all the java, and I'm succeeding. It's hard to
maintain and keep Tomcat alive.

If you look at ruby/editing-interface/support/insert_gpx_files.rb you'll
see the code that does the work. Couple more things need fixing and
it'll be up.

> work out where (still getting my head around getting svn compiled), but 
> the following checks are fairly obvious:
> 
> Speed between two points > 200km/h
> Altitude > 100 metres above highest Nasa terrain data for area.
>
> these points should be discarded as unsuitable for drawing surface features.

Noted as bugs which I'll fix in the new GPX parser.

have fun,

SteveC steve at fractalus.com http://www.fractalus.com/steve/




More information about the talk mailing list