convert import styles to themepark

Introduces presets which avoid much of the previous configuration
duplication. The original import files are now thin wrappers around
the themepark themes.
This commit is contained in:
Sarah Hoffmann
2024-12-06 12:12:27 +01:00
parent d1b7c14f79
commit 59bce26afe
15 changed files with 442 additions and 457 deletions

View File

@@ -33,7 +33,7 @@ Feature: Import with custom styles by osm2pgsql
"""
local flex = require('import-full')
flex.add_main_tags{
flex.modify_main_tags{
amenity = {prison = 'delete'},
highway = {stop = 'named'},
aeroway = 'named'

View File

@@ -131,7 +131,7 @@ Feature: Tag evaluation
When loading osm data
"""
n8001 Tshop=shoes,note:de=Nein,xx=yy
n8002 Tshop=shoes,building=no,ele=234
n8002 Tshop=shoes,natural=no,ele=234
n8003 Tshop=shoes,name:source=survey
"""
Then place contains exactly