Skip to content

Commit

Permalink
extract public transport stop areas
Browse files Browse the repository at this point in the history
  • Loading branch information
felixguendling committed Apr 7, 2024
1 parent 4edabc8 commit 3684e08
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions profile/profile.lua
Original file line number Diff line number Diff line change
Expand Up @@ -226,5 +226,14 @@ function process_area(area)
area:set_approved_min_by_area(14, 1e8,
12, 1e10,
8, -1)

elseif area:has_tag("public_transport", "platform") or
area:has_tag("public_transport", "stop_area") then
area:set_target_layer("landuse")
area:add_string("landuse", "public_transport")
area:set_approved_min_by_area(12, 1e8,
10, 1e10,
8, -1)

end
end

0 comments on commit 3684e08

Please sign in to comment.