Open
Description
Feature
Please describe the feature you would like to see in OSRM.
Images are often a good way to illustrate your requested feature.
When integrating third party raster data it would be advantageous to incorporate elevation data for the respective locations in the response. This information could be leveraged in numerous ways, such as plotting a graph to illustrate the elevation trend along the route.
The following is a STEP
extracted from an OSRM response with the added elevation
field:
{
"geometry":"...",
"maneuver":{
"bearing_after":299,
"bearing_before":0,
"location":[
"lat",
"long",
ELEVATION
],
"modifier":"right",
"type":"depart"
},
"mode":"driving",
"driving_side":"right",
"name":"Street Name",
"intersections":[
{
"out":0,
"entry":[
true
],
"bearings":[
299
],
"location":[
"lat",
"long",
ELEVATION
]
}
],
"weight":71.4,
"duration":22,
"distance":141.3
}