]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/api/search/db_searches.py
Merge pull request #3385 from mtmail/docs-reverse-only
[nominatim.git] / nominatim / api / search / db_searches.py
index c2ac4e161fab05872245e56d0b7840a2b95fa8fa..d74812e682a3453a55ea209c83ebf22a61e75a31 100644 (file)
@@ -678,7 +678,7 @@ class PlaceSearch(AbstractSearch):
                 tpc = conn.t.postcode
                 sql = sql.where(sa.select(tpc.c.postcode)
                                   .where(tpc.c.postcode.in_(self.postcodes.values))
-                                  .where(t.c.centroid.within_distance(tpc.c.geometry, 0.12))
+                                  .where(t.c.centroid.within_distance(tpc.c.geometry, 0.4))
                                   .exists())
 
         if details.viewbox is not None: