Skip to content

Commit 2cc2779

Browse files
Merge pull request #178 from rustprooflabs/road-access-control
Improve motor access control
2 parents 3e1c45e + 900695d commit 2cc2779

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)