mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
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:
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user