summaryrefslogtreecommitdiffstats
path: root/store.py
diff options
context:
space:
mode:
authorStefan Hansson <steha708@student.liu.se>2021-01-09 11:27:26 +0100
committerStefan Hansson <steha708@student.liu.se>2021-01-09 11:27:26 +0100
commit978fed58df8322d4195ae112d33a4da193deccc2 (patch)
tree0723e8b92e34371b130b1e1a579a872fad1bad6a /store.py
parentff702dfc656b289223e3700e66872c371e365a25 (diff)
parenta526d6b7ce8c2e506dfc0a6356e9e2ce470bc3e4 (diff)
downloadtdde25-978fed58df8322d4195ae112d33a4da193deccc2.tar.gz
Merge branch 'small-fixes' into 'master'
Small fixes See merge request tdde25-2020/tdde25-2020-projekt-sg3-maps-05!18
Diffstat (limited to 'store.py')
-rw-r--r--store.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/store.py b/store.py
index 4bca5ee..5438740 100644
--- a/store.py
+++ b/store.py
@@ -189,6 +189,7 @@ suitable_highway_types_bike = [
'path'
]
+
def suitable_bike(way):
tags = way['tags']
@@ -213,8 +214,9 @@ suitable_highway_types_car = [
'tertiary_link',
# Special road types
'living_street', 'service',
- 'pedestrian', 'road' # FIXME: Handle predestrian and road differently?
+ 'pedestrian', 'road' # FIXME: Handle predestrian and road differently?
]
+
def suitable_car(way):
return way['tags']['highway'] in suitable_highway_types_car