]> git.openstreetmap.org Git - nominatim.git/commitdiff
use line interpolation to create centroid for lines
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 3 Nov 2024 16:46:06 +0000 (17:46 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 3 Nov 2024 21:06:36 +0000 (22:06 +0100)
ST_PointOnSurface always returns one of the vertices of a line.
This means that a two-point line will have the centroid at
one of the ends, which is less then ideal.


No differences found