[postgis-users] Computing a centroid on GEOGRAPHY objects
edolinde at gmail.com
Thu Dec 6 13:21:13 PST 2012
Yeah, but doesn't that need a spatial reference ID? Or would it
automatically know what to do?
On Thu, Dec 6, 2012 at 9:40 PM, Michal Zimmermann <zimmicz at gmail.com> wrote:
> You can try to cast geography to geometry with
> On 12/6/12, Ed Linde <edolinde at gmail.com> wrote:
> > 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
> > only work on a geometry type.
> > The lat/long coordinates are spread all across the globe and hence I
> > convert it to local UTM formats because there is a discrepancy when going
> > across different zones!
> > Any workarounds?
> > Thanks,
> > Ed
> Michal Zimmermann (zimmi)
> WWW: http://www.zimmi.cz
> postgis-users mailing list
> postgis-users at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the postgis-users