NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I have a GPS trace of a route used by a vehicle. I am trying to find out whether this path is the same as estimated/propose by OSM. But GPS trace is missing some points, so it forms a straight line between two points(line goes over through some places on map instead of following a road). My solution to this was using a Match service provided by OSRM. It works fine but sometimes it generates a loop over some routes (keeps on circling the same route near a roundabout), when it should have gone straight. How I can solve this issue.

alt text

I used following request to local server

http://localhost:5000/match/v1/car/polyline({poly_line})?overview=full&steps=true&geometries=polyline

and extracted the generated poly-line and then used that to plot this map using folium

asked 05 Oct '19, 14:10

vsaadnet's gravatar image

vsaadnet
459913
accept rate: 0%

edited 09 Oct '19, 09:19

For Info. GPX points are recorded at intervals, which you see if you open one with a text editor you will see the positions and their times. If one point is just before a bend in road and the next one or two seconds later is around this bend the line will be straight between the points. Some Sat Navs lock to road so that the display does not look incorrect.

(05 Oct '19, 21:39) andy mackey

@andy mackey, this is not the problem here, missing points are not just bends apart there are literally a mile apart. Concerned dept. told us that sometimes GPS is not functioning at various locations, so, we have to use match o snap to road api's to visualize the path taken.

(06 Oct '19, 12:06) vsaadnet

Maybe the GPS tracking device is not set to record at short time intervals. The GPS may not be good enough to do the job required or it's signal is degraded by high buildings or even degraded by radio interference, either by accident or design. such as this article https://www.theguardian.com/technology/2013/feb/13/gps-jammers-uk-roads-risks

(07 Oct '19, 07:05) andy mackey

@andy mackey, problem is not that gps device is missing its about Matching a GPS trace properly using OSM/OSRM. API calls are returning duplicate data.

(08 Oct '19, 16:19) vsaadnet

Could you edit your question and upload a jpeg showing the problem?

(08 Oct '19, 20:36) andy mackey
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×710
×235
×85
×22
×8

question asked: 05 Oct '19, 14:10

question was seen: 1,859 times

last updated: 09 Oct '19, 09:19

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum