Open vvoovv opened 8 months ago
For example, how to exclude footways and cycleways from processing?
There are two possibilities:
First, there are two functions of the way manager, getAllWays()
and getAllVehicleWays()
, which select different categories of ways. The latter excludes all roads (more or less) that are not accessible by motorized vehicles. There is a variable self.allWays
in StreetGenerator
(line 351) that includes all way categories, when True
and the vehicle ways, when False
. Of course, the definitions of these category groups, which reside in /defs/way.py, can be adapted.
Second, you can exclude individual unwanted categories by adding their tags to the ExcludedWayTags
list in _/defs/roadpolygons.py. Currently, only the tag steps
is excluded there (apparently since a very long time).
For example, how to exclude footways and cycleways from processing?