Skip to content

Commit 900695d

Browse files
committed
Improve motor access control #177
1 parent 3e1c45e commit 900695d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

flex-config/helpers.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,9 @@ end
349349

350350
function routable_motor(tags)
351351
if (tags.access == 'no'
352-
or tags.access == 'private')
352+
or tags.access == 'private'
353+
or tags.motor_vehicle == 'no'
354+
or tags.motor_vehicle == 'private')
353355
then
354356
return false
355357
elseif (tags.highway == 'motorway'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
34634|1139|6880|26064|22080|24440
1+
34634|1139|6880|26064|22080|24424

0 commit comments

Comments
 (0)