]> git.openstreetmap.org Git - nominatim.git/blobdiff - sql/functions/aux_property.sql
Merge pull request #1647 from lonvia/split-out-linking
[nominatim.git] / sql / functions / aux_property.sql
index 841f240a091e24f255181f29f78cdb88fd1eeacb..cee5cfb2e3619145b4b10ff856d6057d54b59b3a 100644 (file)
@@ -23,7 +23,7 @@ BEGIN
 
   address_street_word_ids := word_ids_from_name(in_street);
   IF address_street_word_ids IS NOT NULL THEN
-    out_parent_place_id := getNearestNamedRoadFeature(out_partition, place_centroid,
+    out_parent_place_id := getNearestNamedRoadPlaceId(out_partition, place_centroid,
                                                       address_street_word_ids);
   END IF;