[Openstreetmap] GPX upload of spurious track points

Simon Hewison simon at zymurgy.org
Sat Sep 10 10:44:46 BST 2005


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 
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.

-- 
Simon Hewison




More information about the talk mailing list