From: Sarah Hoffmann Date: Thu, 15 Oct 2020 10:06:53 +0000 (+0200) Subject: correctly set from area column in place_addressline X-Git-Tag: v3.6.0~50^2~4 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/62b94e838b7c7a67e17de3c749fd5764646b190b correctly set from area column in place_addressline This was always set to true which brings us to the question if it is even still needed. --- diff --git a/sql/functions/placex_triggers.sql b/sql/functions/placex_triggers.sql index 680e80e7..27fa3643 100644 --- a/sql/functions/placex_triggers.sql +++ b/sql/functions/placex_triggers.sql @@ -360,7 +360,7 @@ BEGIN INSERT INTO place_addressline (place_id, address_place_id, fromarea, isaddress, distance, cached_rank_address) - VALUES (obj_place_id, location.place_id, true, + VALUES (obj_place_id, location.place_id, not location.isguess, location_isaddress, location.distance, location.rank_address); END LOOP; END;