mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-11 13:24:07 +00:00
switch to osm2pgsql flex style by default
This commit is contained in:
@@ -172,7 +172,7 @@ class Configuration:
|
|||||||
style = getattr(self, 'IMPORT_STYLE')
|
style = getattr(self, 'IMPORT_STYLE')
|
||||||
|
|
||||||
if style in ('admin', 'street', 'address', 'full', 'extratags'):
|
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')
|
return self.find_config_file('', 'IMPORT_STYLE')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user