Open andresfchamorro opened 3 years ago
I like this idea
It would be great to have country-specific speeds like this while preserving existing speed values for any given edge where maxspeed > or = 0
, for example, and user could choose to apply speeds to all or have an exception where speed exists already. I believe @d3netxer did something like this in the load_traffic2.py module to accept both a maxspeed and a Mapbox speed value.
Also, longer term, would love the ability to extract average speeds by road class (and surface?) for a given graph. This might not be trustworthy for small analysis, but country-level this would be great and would dynamically improve along with OSM data. Was looking into OSRM and saw their equivalent to speed dicts (routing profile for cars, written in Lua). I wonder if this kind of thing could be adapted for gostnets?
Looking into the methodology behind the friction surface (Malaria Atlas Project, Weiss et al), I found out that they created a table of country, road type, and speed limit based on OSM attributes.
Here is the paragraph describing their road data processing:
I propose that we look into the quality/completeness of this table, and use it to replace default_speeds, or at least have it as an option. The table is available through the paper in the Supplementary Tables 1–3 link.
Thoughts?
@d3netxer @bpstewar