]> git.openstreetmap.org Git - nominatim.git/commitdiff
change distance computation between place and address part
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 21 Apr 2022 19:56:59 +0000 (21:56 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 22 Apr 2022 12:32:09 +0000 (14:32 +0200)
Instead of computing the distance to the centroid of the area
compute the distance of the area to the centroid of the feature.
This means we give preference to the area that covers the centroid.
It's still a heuristics but one that is a bit less random.


No differences found