[postgis-devel] ST_Centroid for arc centroid(arc->points) or centroid(arc->line)

Rémi Cura remi.cura at gmail.com
Wed Feb 24 05:14:21 PST 2016


Hey,

What would you think would be the best course to extend ST_Centroid to work
on arc.

 1. ST_Centroids(ST_Points(arc))
 2. ST_Centroids(ST_CureToLine(arc))

I would prefere option 1 as it does not introduce sampling issues.

Maybe the correct answer would be to mimic centroid(linestring),
that is weight point with circular length?

Cheers,
Rémi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20160224/f65ac876/attachment.html>


More information about the postgis-devel mailing list