]> git.openstreetmap.org Git - nominatim.git/blobdiff - sql/functions.sql
add street to the address of rank >27 objects
[nominatim.git] / sql / functions.sql
index 4c679f3b7e4675f3a4ffe55ba73912da34a098ab..aa2a8908a1f24a664681524d8094b4c5d0a570a5 100644 (file)
@@ -1526,6 +1526,7 @@ BEGIN
 
         -- Merge address from parent
         nameaddress_vector := array_merge(nameaddress_vector, location.nameaddress_vector);
+        nameaddress_vector := array_merge(nameaddress_vector, location.name_vector);
 --return NEW;
         -- Performance, it would be more acurate to do all the rest of the import process but it takes too long
         -- Just be happy with inheriting from parent road only