Move Lat & Lon point to a new routable position

264 views Asked by At

I'm collecting raw data from a GPS. It looks not very accurate:

gps raw data

I would like to move points to nearest routable point ( in a offline cleaning process if it is possible )

What I did:

I digging on forums searching for a magic solution ;) May be, the closest is to use openstreetmap extract and query it, something like:

(
  way
  (around:100,41.12345,4.12345)
  [highway~"^(primary|secondary|tertiary|residential)$"]
  [name];
>;)

But I have no experience in this environment, I don't know how to make query and get desired new point ( python will be wonderful, but I'm open to other solutions ).

Perhaps I'm totally wrong. I have my mind open to any solution.

1

There are 1 answers

0
scai On

There are various solutions for Map Matching (also called Conflation) with OSM available, for example GraphHopper.

Also take a look at this related question on gis.stackexchange.com.