Switch to configurable style for osm2pgsql

Includes the full style, which is the same as now (minus
sidwalk exclusion) and a minimal style for boundaries only.
This commit is contained in:
Sarah Hoffmann
2018-11-27 00:17:00 +01:00
parent 1c85edbda9
commit caa8210112
6 changed files with 315 additions and 19 deletions

View File

@@ -231,14 +231,6 @@ Feature: Tag evaluation
| boundary | administrative |
| waterway | stream |
Scenario: Footways are not included if they are sidewalks
When loading osm data
"""
n2 Thighway=footway,name=To%20%Hell,footway=sidewalk
n23 Thighway=footway,name=x
"""
Then place has no entry for N2
Scenario: named junctions are included if there is no other tag
When loading osm data
"""
@@ -538,9 +530,9 @@ Feature: Tag evaluation
Then place contains
| object | class | type |
| N10 | tourism | hotel |
| N12 | building| yes |
| N12 | building| shed |
| N13 | building| yes |
| N14 | building| yes |
| N14 | place | postcode |
And place has no entry for N10:building
And place has no entry for N11