]> git.openstreetmap.org Git - nominatim.git/blobdiff - docs/customize/Settings.md
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / docs / customize / Settings.md
index bb552744ddc3aec13ab3637e4d927e073221f81b..ebfa2421a12d79a7a7580afb504b073642c4844b 100644 (file)
@@ -627,6 +627,23 @@ with a single query.
 
 Setting this parameter to 0 disables polygon output completely.
 
+
+#### NOMINATIM_SEARCH_WITHIN_COUNTRIES
+
+| Summary            |                                                     |
+| --------------     | --------------------------------------------------- |
+| **Description:**   | Disable search for elements that are not in the country grid |
+| **Format:**        | boolean |
+| **Default:**       | no |
+| **After Changes:** | run `nominatim refresh --website` |
+
+Enable to search elements just within countries.
+
+When enabled, if, despite not finding a point within the static grid of countries, it
+finds a geometry of a region, do not return the geometry.
+Return "Unable to geocode" instead.
+
+
 ### Logging Settings
 
 #### NOMINATIM_LOG_DB