]> git.openstreetmap.org Git - nominatim.git/commitdiff
import leisure=natural_reserve as fallback only
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 14 Feb 2024 10:47:10 +0000 (11:47 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 27 Feb 2024 09:15:08 +0000 (10:15 +0100)
About half of the natural reserves have a double tagging with
boundary=protected_area. Avoid importing these objects twice.

settings/import-extratags.lua
settings/import-full.lua

index 204bd1c8f56be7632195b92179ad408b4881ddef..83ca437fd2d7977b35961a2437491566d38f6fd9 100644 (file)
@@ -33,7 +33,8 @@ flex.set_main_tags{
     craft = 'always',
     junction = 'fallback',
     landuse = 'fallback',
-    leisure = 'always',
+    leisure = {'always',
+               nature_reserve = 'fallback'},
     office = 'always',
     mountain_pass = 'always',
     shop = 'always',
index 1dc317a9bc0f5e1b4c9bcbd3d1ee4e1a6996f449..7b94e52c35963f73b8e536a686dd092a682c64fb 100644 (file)
@@ -33,7 +33,8 @@ flex.set_main_tags{
     craft = 'always',
     junction = 'fallback',
     landuse = 'fallback',
-    leisure = 'always',
+    leisure = {'always',
+               nature_reserve = 'fallback'},
     office = 'always',
     mountain_pass = 'always',
     shop = 'always',