Adds surface=sett to bicycle profile, resolves #3649

References:
- http://taginfo.openstreetmap.org/keys/surface#values
- http://wiki.openstreetmap.org/wiki/Key:surface
This commit is contained in:
Daniel J. Hofmann 2017-02-05 09:54:23 +01:00 committed by Daniel J. H
parent f2663acfc6
commit cedeb15ade
2 changed files with 3 additions and 1 deletions

View File

@ -21,6 +21,7 @@ Feature: Bike - Surfaces
| cycleway | grass | 120 s | | cycleway | grass | 120 s |
| cycleway | mud | 240 s | | cycleway | mud | 240 s |
| cycleway | sand | 240.1 s | | cycleway | sand | 240.1 s |
| cycleway | sett | 72 s |
Scenario: Bicycle - Good surfaces on small paths Scenario: Bicycle - Good surfaces on small paths
Then routability should be Then routability should be

View File

@ -88,7 +88,8 @@ surface_speeds = {
["earth"] = 6, ["earth"] = 6,
["grass"] = 6, ["grass"] = 6,
["mud"] = 3, ["mud"] = 3,
["sand"] = 3 ["sand"] = 3,
["sett"] = 10
} }
-- these need to be global because they are accesed externaly -- these need to be global because they are accesed externaly