]> git.openstreetmap.org Git - nominatim.git/commitdiff
switch to osm2pgsql flex style by default
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 16 Dec 2022 10:23:33 +0000 (11:23 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 18 Dec 2022 09:10:58 +0000 (10:10 +0100)
nominatim/config.py

index 1728c291e92fadec129f8a531247165dbea688ee..e0f19b04eaddf7a1dcee168fc0ed87aad23350ae 100644 (file)
@@ -172,7 +172,7 @@ class Configuration:
         style = getattr(self, 'IMPORT_STYLE')
 
         if style in ('admin', 'street', 'address', 'full', 'extratags'):
-            return self.config_dir / f'import-{style}.style'
+            return self.config_dir / f'import-{style}.lua'
 
         return self.find_config_file('', 'IMPORT_STYLE')