]> git.openstreetmap.org Git - nominatim.git/commitdiff
add street to the address of rank >27 objects
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 13 Dec 2012 19:31:52 +0000 (20:31 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 13 Dec 2012 19:31:52 +0000 (20:31 +0100)
fixes trac ticket #4711

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