Hi People,
I’m a bit confused. My idea was to parse a gpx, send the coordinates and then get meaningful steps and store them to offline-navigate. But instead i get from a pretty short gpx route a ton of steps sometimes in absurd directions for VERY short distances. I’m close to throwing it all away and rever back to visual manual navigation along a gpx coordinate on a track. it’s part of a cycling project.
This is my GPX file: https://limewire.com/d/wq2MN#W5IUiZgZqY (i cant directly attach it here, it’s coming from Komoot: EDIT I CANNOT attach the link here because I’m a "new user and can only add 2 Links…)
EDIT: because of the charater limit i also have to attach my response from ORS.
This is my database Entry holding the response:
https://limewire.com/d/IgeFG#7oFuRxvvd5
in there are for example segments like this that dont make sense, because it is a simple straight route along a street:
{
"steps": [
{
"name": "MariannenstraÃe",
"type": 11,
"distance": 9,
"duration": 1.8,
"way_points": [7, 8],
"instruction": "Head north on MariannenstraÃe"
},
{
"name": "-",
"type": 10,
"distance": 0,
"duration": 0,
"way_points": [8, 8],
"instruction": "Arrive at MariannenstraÃe, on the right"
}
],
"distance": 9,
"duration": 1.8,
"percentage": 0.1786033220217896
},
{
"steps": [
{
"name": "MariannenstraÃe",
"type": 11,
"distance": 69,
"duration": 13.8,
"way_points": [8, 10],
"instruction": "Head north on MariannenstraÃe"
},
{
"name": "-",
"type": 10,
"distance": 0,
"duration": 0,
"way_points": [10, 10],
"instruction": "Arrive at MariannenstraÃe, on the right"
}
],
"distance": 69,
"duration": 13.8,
"percentage": 1.369292135500387
},
{
"steps": [
{
"name": "MariannenstraÃe",
"type": 11,
"distance": 7.4,
"duration": 1.5,
"way_points": [10, 11],
"instruction": "Head north on MariannenstraÃe"
},
{
"name": "-",
"type": 10,
"distance": 0,
"duration": 0,
"way_points": [11, 11],
"instruction": "Arrive at MariannenstraÃe, on the right"
}
],
"distance": 7.4,
"duration": 1.5,
"percentage": 0.146851620329027
},
{
"steps": [
{
"name": "MariannenstraÃe",
"type": 11,
"distance": 7.3,
"duration": 1.5,
"way_points": [11, 12],
"instruction": "Head northeast on MariannenstraÃe"
},
{
"name": "-",
"type": 1,
"distance": 0,
"duration": 0,
"way_points": [12, 13],
"instruction": "Turn right"
},
{
"name": "-",
"type": 10,
"distance": 0,
"duration": 0,
"way_points": [13, 13],
"instruction": "Arrive at your destination, on the left"
}
],
"distance": 7.3,
"duration": 1.5,
"percentage": 0.1448671389732294
},
{
"steps": [
{
"name": "-",
"type": 11,
"distance": 0,
"duration": 0,
"way_points": [13, 14],
"instruction": "Head northwest"
},
{
"name": "MariannenstraÃe",
"type": 1,
"distance": 56.2,
"duration": 11.2,
"way_points": [14, 15],
"instruction": "Turn right onto MariannenstraÃe"
},
{
"name": "-",
"type": 0,
"distance": 0,
"duration": 0,
"way_points": [15, 16],
"instruction": "Turn left"
},
{
"name": "-",
"type": 10,
"distance": 0,
"duration": 0,
"way_points": [16, 16],
"instruction": "Arrive at your destination, on the right"
}
],
"distance": 56.2,
"duration": 11.2,
"percentage": 1.115278521958286
},
{
"steps": [
{
"name": "-",
"type": 11,
"distance": 0,
"duration": 0,
"way_points": [16, 17],
"instruction": "Head southeast"
},
{
"name": "MariannenstraÃe",
"type": 0,
"distance": 8.3,
"duration": 1.7,
"way_points": [17, 18],
"instruction": "Turn left onto MariannenstraÃe"
},
{
"name": "-",
"type": 10,
"distance": 0,
"duration": 0,
"way_points": [18, 18],
"instruction": "Arrive at MariannenstraÃe, on the left"
}
],
"distance": 8.3,
"duration": 1.7,
"percentage": 0.164711952531206
},
It’s a 4.88km ride so i dont understand why i would need so many instructions and most of them are completely wrong (telling to go right where the route doesnt go)
I would be happy if someone could explain.
Greetings
-Joshi