Open EwoutH opened 1 week ago
Taking a look back at an old notebook I once applied this trick:
road_types = '["highway"~"motorway|trunk|primary|secondary|tertiary|motorway_link|trunk_link|primary_link|secondary_link|tertiary_link|construction"]["construction"!~"unclassified|residential|living_street|road|raceway|pedestrian|service|track|bridleway|cycleway|footway|path|steps"]'
But I think this should be able to done more elegant and robust.
I would be curious on how to do more advanced custom filters, for example how to combine two (in and OR fasion).
Possible syntax and examples of more advanced custom filter could be added to 08-custom-filters-infrastructure.ipynb