]> git.openstreetmap.org Git - nominatim.git/blobdiff - sql/functions/address_lookup.sql
use only centroid to get parent admin boundaries
[nominatim.git] / sql / functions / address_lookup.sql
index 55fa23f277c175085d4befa6b117386578e40cd7..42c015bfd28d3d1fedb77e907740cab9ccf7d867 100644 (file)
@@ -272,7 +272,7 @@ BEGIN
   END IF;
 
   IF searchhousenumber IS NOT NULL THEN
-    location := ROW(in_place_id, null, null, hstore('ref', searchhousenumber),
+    location := ROW(null, null, null, hstore('ref', searchhousenumber),
                     'place', 'house_number', null, null, true, true, 28, 0)::addressline;
     RETURN NEXT location;
   END IF;