- address_street_word_id := get_name_id(make_standard_name(in_street));
- IF address_street_word_id IS NOT NULL THEN
- FOR location IN SELECT * from getNearestNamedRoadFeature(out_partition, place_centroid, address_street_word_id) LOOP
- out_parent_place_id := location.place_id;
- END LOOP;
+ address_street_word_ids := word_ids_from_name(in_street);
+ IF address_street_word_ids IS NOT NULL THEN
+ out_parent_place_id := getNearestNamedRoadPlaceId(out_partition, place_centroid,
+ address_street_word_ids);