Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

different elevation for the exact same point #625

Closed
TheGreatRefrigerator opened this issue Nov 29, 2019 · 3 comments · Fixed by #1511
Closed

different elevation for the exact same point #625

TheGreatRefrigerator opened this issue Nov 29, 2019 · 3 comments · Fixed by #1511
Assignees
Labels
bug 🐞 Erroneous behavior of the backend elevation ⛰️

Comments

@TheGreatRefrigerator
Copy link
Contributor

TheGreatRefrigerator commented Nov 29, 2019

Here's what I did

https://api.openrouteservice.org/v2/directions/driving-car/geojson

body:

{"coordinates":[[8.681495,49.41461],[8.696507,49.41943],[8.697872,49.450318]],"elevation":"true","extra_info":["steepness","suitability","surface","waycategory","waytype","roadaccessrestrictions"],"instructions":"false"}

Here's what I got

After visiting a Waypoint, the route returns on the exact same path but with different elevation information. Part of the coordinate section:

                    [8.698479, 49.418991, 291],
                    [8.698079, 49.419188, 285.5],
                    [8.697857, 49.419346, 281.3],
                    [8.697655, 49.419543, 277.2],
                    [8.697592, 49.419596, 275.2],
                    [8.697579, 49.419621, 273.2],
                    [8.697579, 49.419621, 271.3],
                    [8.697579, 49.419621, 254],
                    [8.697592, 49.419596, 254],
                    [8.697655, 49.419543, 254],
                    [8.697857, 49.419346, 254],
                    [8.698079, 49.419188, 254],
                    [8.698479, 49.418991, 258],
                    [8.699224, 49.418674, 267.6],

8.697592, 49.419596 is the turning point which is present 3 times with 3 different elevation values.


Here's what I was expecting

The same elevation for the same points

@TheGreatRefrigerator TheGreatRefrigerator added the bug 🐞 Erroneous behavior of the backend label Nov 29, 2019
@aoles
Copy link
Member

aoles commented Nov 29, 2019

Probably virtual nodes/edges are the thing to look into.

@TheGreatRefrigerator
Copy link
Contributor Author

Waypoint_elevation_breaks
This has definitely to do with the waypoints. I was just generating a route with multiple waypoints and this issue appeared a lot more frequently.

@pathmapper
Copy link
Contributor

This has definitely to do with the waypoints.

Reported a similar issue in #770, but there are no waypoints involved, only two points and the inverted order of the points returns different elevation for both points.

sfendrich pushed a commit that referenced this issue Jul 31, 2023
The class ElevationSmoother causes #625, #770, and #1470. As it has been superseded
by Graphhopper's elevation smoothing, it is removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Erroneous behavior of the backend elevation ⛰️
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants