# Wrong elevation and distance for the route

**URL:** <https://ask.openrouteservice.org/t/wrong-elevation-and-distance-for-the-route/5792>\
**Category:** openrouteservice\
**Created:** [February 20, 2024, 10:02am UTC](https://ask.openrouteservice.org/t/wrong-elevation-and-distance-for-the-route/5792 "2024-02-20T10:02:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kf99916](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/k/a3d4f5/32.png) [@kf99916](https://ask.openrouteservice.org/u/kf99916)\
**Post date:** [February 20, 2024, 10:02am UTC](https://ask.openrouteservice.org/t/wrong-elevation-and-distance-for-the-route/5792/1 "2024-02-20T10:02:51Z")

</div>

Hi ORS team,

Here is the [route](https://maps.openrouteservice.org/#/directions/%E4%B8%80%E6%A8%B9%E5%9D%A1%E6%A9%AB%E5%B1%B1%E5%BE%91,%E9%A6%99%E6%B8%AF,CW,%E9%A6%99%E6%B8%AF/%E4%B8%80%E6%A8%B9%E5%9D%A1%E6%A9%AB%E5%B1%B1%E5%BE%91,%E9%A6%99%E6%B8%AF,CW,%E9%A6%99%E6%B8%AF/data/55,130,32,198,15,97,4,224,38,9,96,59,2,24,5,192,166,6,113,0,184,64,70,124,6,96,14,128,78,124,5,99,40,128,104,2,103,164,250,1,96,29,133,202,6,228,52,139,43,96,1,158,190,65,156,1,176,0,225,105,33,147,86,108,41,178,38,56,178,182,33,104,128,128,1,213,60,8,137,176,229,0,11,202,0,91,92,249,100,129,221,2,0,51,120,0,109,210,225,8,234,42,0,180,0,45,224,1,172,144,1,205,52,237,161,209,29,209,35,16,193,220,241,35,32,44,45,209,17,97,209,96,64,1,125,178,128,0). The range of this elevation profile from 10,000 m to 20,000 m. The distance is 25.8 km.

Can you help this issue? Thanks in advance for your help.

Cheers,  
Zheng-Xiang

---

<div class="post-metadata">

**Author:** ![jschnell](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/jschnell/32/971_2.png) [@jschnell](https://ask.openrouteservice.org/u/jschnell)\
**Post date:** [February 20, 2024, 3:27pm UTC](https://ask.openrouteservice.org/t/wrong-elevation-and-distance-for-the-route/5792/2 "2024-02-20T15:27:18Z")

</div>

Hey,

clicking on your link leads me to a map with two waypoints, between which no route could be found.

Best regards

---

<div class="post-metadata">

**Author:** ![kf99916](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/k/a3d4f5/32.png) [@kf99916](https://ask.openrouteservice.org/u/kf99916)\
**Post date:** [February 21, 2024, 4:49am UTC](https://ask.openrouteservice.org/t/wrong-elevation-and-distance-for-the-route/5792/3 "2024-02-21T04:49:09Z")

</div>

Hi @jschnell,

Strange, I can see the [route](https://maps.openrouteservice.org/#/directions/%E4%B8%80%E6%A8%B9%E5%9D%A1%E6%A9%AB%E5%B1%B1%E5%BE%91,%E9%A6%99%E6%B8%AF,CW,%E9%A6%99%E6%B8%AF/%E4%B8%80%E6%A8%B9%E5%9D%A1%E6%A9%AB%E5%B1%B1%E5%BE%91,%E9%A6%99%E6%B8%AF,CW,%E9%A6%99%E6%B8%AF/data/55,130,32,198,15,97,4,224,38,9,96,59,2,24,5,192,166,6,113,0,184,64,70,124,6,96,14,128,78,124,5,99,40,128,104,2,103,164,250,1,96,29,133,202,6,228,52,139,43,96,1,158,190,65,156,1,176,0,225,105,33,147,86,108,41,178,38,56,178,182,33,104,128,128,1,213,60,8,137,176,229,0,11,202,0,91,92,249,100,129,221,2,0,51,120,0,109,210,225,8,234,42,0,180,0,45,224,1,172,144,1,205,52,237,161,209,29,209,35,16,193,220,241,35,32,44,45,209,17,97,209,96,64,1,125,178,128,0) normally (screenshot is below).

 ![截圖 2024-02-21 中午12.43.18](https://ask.openrouteservice.org/uploads/default/original/2X/4/4feed9603f144367995ac6125b53414acd880262.jpeg)

Here is the route ORS JSON:

```auto
{"polygons":[],"options":{"zoom":18,"profile":"foot-hiking","preference":"recommended"},"places":[{"lng":113.91593,"lat":22.24745,"placeName":"一樹坡橫山徑, 香港,CW,香港","unresolved":false,"suggestions":[],"coordinates":[113.91593,22.24745],"properties":{},"direct":false},{"lng":113.91570210456848,"lat":22.24791730413737,"placeName":"一樹坡橫山徑, 香港,CW,香港","unresolved":false,"suggestions":[],"coordinates":[113.91570210456848,22.24791730413737],"properties":{},"direct":false}],"pois":[],"routes":[{"bbox":[113.915717,22.24745,12342.18,113.91593,22.247927,19844.38],"type":"Feature","properties":{"ascent":1012.4,"descent":8106.3,"transfers":0,"fare":0,"segments":[{"distance":25.848,"duration":18610.6,"steps":[{"distance":25.848,"duration":18610.6,"type":11,"instruction":"Head north on <b>鳳凰徑第3段 Lantau Trail Section 3</b>","name":"鳳凰徑第3段 Lantau Trail Section 3","way_points":[0,7]},{"distance":0,"duration":0,"type":10,"instruction":"Arrive at 鳳凰徑第3段 Lantau Trail Section 3, on the left","name":"-","way_points":[7,7]}],"ascent":1012.4044921874993,"descent":8106.2578125}],"extras":{"surface":{"values":[[0,7,0]],"summary":[{"value":0,"distance":0.026,"amount":100}]},"waytypes":{"values":[[0,7,7]],"summary":[{"value":7,"distance":0.026,"amount":100}]},"steepness":{"values":[[0,2,-5],[2,5,5],[5,7,-5]],"summary":[{"value":-5,"distance":0.022,"amount":83.64},{"value":5,"distance":0.004,"amount":16.36}]}},"way_points":[0,7],"summary":{"distance":25.848,"duration":18610.6},"opacity":0.9},"geometry":{"coordinates":[[113.91593,22.24745,19436],[113.915923,22.247562,18832],[113.915905,22.247585,18997],[113.915855,22.247551,19371.5],[113.915794,22.247557,19844.4],[113.915758,22.247831,15273.7],[113.915757,22.247874,13645.1],[113.915717,22.247927,12342.2]],"type":"LineString"},"summary":{"distance":25.848,"duration":18610.6,"descent":8106.3,"ascent":1012.4,"unit":"km","originalUnit":"km"}}],"origin":"response","mode":"directions","isRouteData":true,"rawData":{"type":"FeatureCollection","metadata":{"attribution":"openrouteservice.org | OpenStreetMap contributors","service":"routing","timestamp":1708490549248,"query":{"coordinates":[[113.91593,22.24745],[113.91570210456848,22.24791730413737]],"profile":"foot-hiking","preference":"recommended","format":"geojson","units":"km","language":"en","instructions_format":"html","elevation":true,"extra_info":["surface","steepness","waytype"]},"engine":{"version":"7.1.1","build_date":"2024-02-02T13:49:47Z","graph_date":"2024-02-12T22:24:00Z"}},"bbox":[113.915717,22.24745,12342.18,113.91593,22.247927,19844.38],"features":[{"bbox":[113.915717,22.24745,12342.18,113.91593,22.247927,19844.38],"type":"Feature","properties":{"ascent":1012.4,"descent":8106.3,"transfers":0,"fare":0,"segments":[{"distance":25.848,"duration":18610.6,"steps":[{"distance":25.848,"duration":18610.6,"type":11,"instruction":"Head north on <b>鳳凰徑第3段 Lantau Trail Section 3</b>","name":"鳳凰徑第3段 Lantau Trail Section 3","way_points":[0,7]},{"distance":0,"duration":0,"type":10,"instruction":"Arrive at 鳳凰徑第3段 Lantau Trail Section 3, on the left","name":"-","way_points":[7,7]}],"ascent":1012.4044921874993,"descent":8106.2578125}],"extras":{"surface":{"values":[[0,7,0]],"summary":[{"value":0,"distance":0.026,"amount":100}]},"waytypes":{"values":[[0,7,7]],"summary":[{"value":7,"distance":0.026,"amount":100}]},"steepness":{"values":[[0,2,-5],[2,5,5],[5,7,-5]],"summary":[{"value":-5,"distance":0.022,"amount":83.64},{"value":5,"distance":0.004,"amount":16.36}]}},"way_points":[0,7],"summary":{"distance":25.848,"duration":18610.6}},"geometry":{"coordinates":[[113.91593,22.24745,19436],[113.915923,22.247562,18832],[113.915905,22.247585,18997],[113.915855,22.247551,19371.5],[113.915794,22.247557,19844.4],[113.915758,22.247831,15273.7],[113.915757,22.247874,13645.1],[113.915717,22.247927,12342.2]],"type":"LineString"},"summary":{"distance":25.848,"duration":18610.6,"descent":8106.3,"ascent":1012.4,"unit":"km","originalUnit":"km"}}]},"timestamp":1708490549248}

```

---

<div class="post-metadata">

**Author:** ![jschnell](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/jschnell/32/971_2.png) [@jschnell](https://ask.openrouteservice.org/u/jschnell)\
**Post date:** [February 21, 2024, 8:11am UTC](https://ask.openrouteservice.org/t/wrong-elevation-and-distance-for-the-route/5792/4 "2024-02-21T08:11:38Z")

</div>

Hey,

yes, that was a misconfiguration of the client on my part, sorry for that.  
This is indeed strange - I’d guess that the wrong distance is a result of the wrong elevation.

I’ll open an issue for that.  
EDIT: Issue is [here](https://github.com/GIScience/openrouteservice/issues/1697)

Best regards

---

<div class="post-metadata">

**Author:** ![Cyprien\_Taque](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/cyprien_taque/32/3607_2.png) [@Cyprien\_Taque](https://ask.openrouteservice.org/u/Cyprien_Taque)\
**Post date:** [June 9, 2026, 7:19pm UTC](https://ask.openrouteservice.org/t/wrong-elevation-and-distance-for-the-route/5792/5 "2026-06-09T19:19:34Z")

</div>

Hey,

I get the same kind of error here: [OpenRouteService route planner - directions, isochrones and places](https://maps.openrouteservice.org/#/directions/Pont%20de%20Curusson,Batz-sur-Mer,France/null/Le%20Plinet,Gu%C3%A9rande,France/18%20Rue%20de%20la%20Courte%20Baille,Gu%C3%A9rande,France/data/55,130,32,198,15,97,4,224,38,9,96,59,2,24,5,192,166,6,113,0,184,64,90,0,152,3,160,5,128,54,1,216,6,100,180,128,56,0,96,17,156,234,5,99,176,242,1,165,50,226,132,2,115,87,46,73,171,70,140,43,48,13,200,128,43,128,27,37,61,20,173,148,76,155,102,221,155,212,46,221,185,102,237,169,240,29,90,97,106,133,41,52,98,38,169,77,37,72,116,234,76,233,163,205,43,148,32,180,18,16,15,103,167,228,98,178,53,33,1,225,0,128,0,117,71,128,132,70,193,197,0,2,242,128,5,181,198,101,35,136,78,128,128,3,55,130,87,69,199,0,4,243,2,82,64,7,55,193,200,128,84,69,70,66,69,137,6,47,69,47,70,135,68,67,2,171,194,28,129,201,206,29,135,69,129,0,5,240,90,0)

altitude shows a gap of 162185.8 m in a flat road at sea level with cycling-mountain profile.

Best regards

---

<div class="post-metadata">

**Author:** ![andrzej](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/andrzej/32/10_2.png) [@andrzej](https://ask.openrouteservice.org/u/andrzej)\
**Post date:** [June 11, 2026, 12:53pm UTC](https://ask.openrouteservice.org/t/wrong-elevation-and-distance-for-the-route/5792/6 "2026-06-11T12:53:20Z")

</div>

Thanks @Cyprien_Taque for providing another quite prominent example. I’ve added it to the description at [cycling-moutain router sometimes reports invalid elevations · Issue #2273 · GIScience/openrouteservice · GitHub](https://github.com/GIScience/openrouteservice/issues/2273#issuecomment-4664692642).
