]> git.openstreetmap.org Git - nominatim.git/blobdiff - settings/env.defaults
Merge pull request #3117 from lonvia/fix-assorted-search-errors
[nominatim.git] / settings / env.defaults
index f9f590da65fb50156d1f3139403d7a9cba4a59c6..c4739e786cdd95aa145d0c0172e949b11bb3433d 100644 (file)
@@ -214,6 +214,12 @@ NOMINATIM_SERVE_LEGACY_URLS=yes
 # of connections _per worker_.
 NOMINATIM_API_POOL_SIZE=10
 
+# Search elements just within countries
+# 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.
+NOMINATIM_SEARCH_WITHIN_COUNTRIES=False
+
 ### Log settings
 #
 # The following options allow to enable logging of API requests.