OSRM has a map-matching 
function<https://github.com/Project-OSRM/osrm-backend/blob/master/docs/http.md#service-match>,
 which I've been using for this purpose (in part) with some success. You just 
pass your GPX track to OSRM (running with recent OSM data) and it returns a 
route matched to the network, along with a confidence value between 0 and 1 
which is something like the probability that the matched route is correct. I've 
found that very low matches (< ~0.2) have generally indicated that something is 
definitely wrong/missing in the OSM data, and have pointed me toward 
fixes/additions that result in a more satisfying confidence rating.


You'd just have to set up the appropriate profile for whatever vehicle/mode 
your trace was from.

Just my two cents,

Nate

________________________________
From: Martijn van Exel <[email protected]>
Sent: Monday, August 22, 2016 2:10 PM
To: OSM Talk US; [email protected]
Subject: [Talk-us] Compare GPX to OSM ways

Hi,

Someone asked about a way to see if a GPX file has parts that are not in OSM as 
ways yet.
I didn't know of any so I created this script here: 
https://gist.github.com/mvexel/9205f72208456c7164d9f65e3219118e
I wanted a test case for the Overpass wrapper anyway. It works, sort of. See 
the notes in the file. I hope it's useful or perhaps someone wants to improve 
it.

Martijn van Exel
http://mvexel.github.io/
_______________________________________________
Talk-us mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/talk-us

Reply via email to