Skip to content

Commit

Permalink
Merge pull request #178 from rustprooflabs/road-access-control
Browse files Browse the repository at this point in the history
Improve motor access control
  • Loading branch information
rustprooflabs authored Oct 1, 2021
2 parents 3e1c45e + 900695d commit 2cc2779
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion flex-config/helpers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,9 @@ end

function routable_motor(tags)
if (tags.access == 'no'
or tags.access == 'private')
or tags.access == 'private'
or tags.motor_vehicle == 'no'
or tags.motor_vehicle == 'private')
then
return false
elseif (tags.highway == 'motorway'
Expand Down
2 changes: 1 addition & 1 deletion tests/expected/road_line_aggregates.out
Original file line number Diff line number Diff line change
@@ -1 +1 @@
34634|1139|6880|26064|22080|24440
34634|1139|6880|26064|22080|24424

0 comments on commit 2cc2779

Please sign in to comment.