GIScience / GIScience/openrouteservice

Use country-specific speeds

Open
#697 1 comment 0 reactions 0 assignees View on GitHub
BA/MA :woman_student: epic :rainbow: innovation investigate
Dominant language
Java
Stars
2k
Forks
481
Avg merge
1d 14h
Merged PRs (30d)
52

Description

Travel time estimation could be improved by taking into account local situation rather than global defaults.

Current solution of country-specific speed limits is based on the presence of the tag `zone:traffic` whose coverage is limited mostly to [Germany and Belgium](https://taginfo.openstreetmap.org/keys/zone%3Atraffic#map).

The information to which country a given way belongs to is already available in our external storage. A possible improvement could be based on the [OSM implicit maxspeed](https://wiki.openstreetmap.org/wiki/OSM_tags_for_routing/Maxspeed) in combination with [worldwide legal limits](https://en.wikipedia.org/wiki/Speed_limits_by_country). For a given highway type the most common value across countries could be used as the default and only outliers stored.

The actually tricky part is distinguishing whether a road is in an urban area. This cannot be inferred from `highway` type and there is no common global tagging for it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.