switch IMPORT_STYLE to use generic file search

Allows relative paths wrt project directory.
This commit is contained in:
Sarah Hoffmann
2021-10-22 16:49:57 +02:00
parent 0ae8d7ac08
commit 507fdd4f40
3 changed files with 23 additions and 8 deletions

View File

@@ -328,9 +328,13 @@ project directory and then in the global settings directory.
| **Default:** | extratags |
The _style configuration_ describes which OSM objects and tags are taken
into consideration for the search database. This setting may either
be a string pointing to one of the internal styles or it may be a path
pointing to a custom style.
into consideration for the search database. Nominatim comes with a set
of pre-configured styles, that may be configured here.
You can also write your own custom style and point the setting to the file
with the style. When a relative path is given, then the style file is searched
first relative to the project directory and then in the global settings
directory.
See [Import Styles](Import-Styles.md)
for more information on the available internal styles and the format of the