Open vr00n opened 6 years ago
if this issue is opened to tackle the slope problem. From OSMnx there are two methods to calculate the slope(elevation degree) .
For this problem solely I think elevation between nodes is enough but really depends on what this issue is trying to solve?
would be interesting to see what data Google used
They (Google earth) use Grade % calculation by the way
Google Maps has something called Elevations API . - https://developers.google.com/maps/documentation/elevation/start
BUT
there is an OPEN source alternative! https://open-elevation.com/
ALSO run the below on http://overpass-turbo.eu/
a querying engine for Open Street Maps. These are individual users adding the inclination tag to a few streets only.
[out:json][timeout:45];
(
way["incline"]({{bbox}});
);
out body;
>;
out skel qt;
It would be amazing if we are able to contribute to Open Street Maps by automatically attaching inclination information based on the Open Elevation API.
OSM definition of Key=Incline https://wiki.openstreetmap.org/wiki/Key:incline
This is so cool! Glad you all are exploring this :)
POC:
way
(how a street segment is represented in OSM jargon) get the lat/long of start-node and end-nodehttps://api.open-elevation.com/api/v1/lookup?locations=lat,long
https://api.open-elevation.com/api/v1/lookup?locations=lat,long
Placeholder to tackle later.
https://twitter.com/latimes/status/981597314270859264?s=20
How to submit an issue?
SOLVERS
read through how your issue was solved and may help them solve their issue quicker.Stackedit.io
, a handy tool to quickly write in markdown?