GraphHopper.com | Forum | GitHub | Maps | Blog

Last node is in the middle of the road


#1

Hello.

I try to match gpx file, when last (or first) node is in the middle of the road, but match result is drawn to the end of the current edge (as far as I understand). I want to find parking, but last point of match gives incorrect value.
And if current edge is long, the error will be large.

Is it a bug or I do smth wrong?

<trkpt lat="53.8569268" lon="27.6871010"><time>2017-03-21T07:29:00Z</time></trkpt>
<trkpt lat="53.8563980" lon="27.6881031"><time>2017-03-21T07:29:07Z</time></trkpt>
<trkpt lat="53.8563061" lon="27.6880886"><time>2017-03-21T07:29:09Z</time></trkpt>
<trkpt lat="53.8562388" lon="27.6879575"><time>2017-03-21T07:29:12Z</time></trkpt>
<trkpt lat="53.8562363" lon="27.6877685"><time>2017-03-21T07:29:13Z</time></trkpt>
<trkpt lat="53.856918" lon="27.685576"><time>2017-03-21T07:29:23Z</time></trkpt>

#2

This is a known issue: https://github.com/graphhopper/map-matching/pull/51


#3

and in the end you come to nothing. right?
because in the last version this issue still appears