[postgis-users] Computing a centroid on GEOGRAPHY objects

Ed Linde edolinde at gmail.com
Thu Dec 6 12:34:53 PST 2012


Hi All,
I have a huge bunch of scattered lat/long coordinates stored as GEOGRAPHY
type. I would now like to cluster some of them and
compute their centroids.
I know there is a centroid computation function in Postgis, but it seems to
only work on a geometry type.
The lat/long coordinates are spread all across the globe and hence I cannot
convert it to local UTM formats because there is a discrepancy when going
across different zones!
Any workarounds?

Thanks,
Ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20121206/2184aa93/attachment.html>


More information about the postgis-users mailing list