]> git.openstreetmap.org Git - nominatim.git/commit
use computed centroid for location_area_large
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 15 Oct 2020 15:30:52 +0000 (17:30 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 15 Oct 2020 15:30:52 +0000 (17:30 +0200)
commitacfa7bec9ca406e3a2bf6c46a06ec2803844c5d5
tree800c8f47b250111ce899e71f17de1e0f3c14d35d
parent62b94e838b7c7a67e17de3c749fd5764646b190b
use computed centroid for location_area_large

The new address computation assumes that the centroid is inside
the area. Therefore we cannot use the centroid function. Use the
pre-computed centroid instead which has already been corrected to
be inside the area.
sql/functions/placex_triggers.sql
sql/functions/utils.sql