[postgis-users] Corner coordinates from Geometry

Paul Ramsey pramsey at opengeo.org
Tue Nov 24 09:39:37 PST 2009


Well, the lower left bbox point is almost guaranteed to be, and that's
what he was asking for before :) If you want it guaranteed inside, you
can use ST_PointOnSurface(), but that takes more CPU time.

P

On Tue, Nov 24, 2009 at 9:25 AM, Maxime van Noppen <maxime at altribe.org> wrote:
> Paul Ramsey wrote:
>> Use ST_Centroid() then. It's just the mid-point of the bbox, so it's
>> fast to calculate.
>
> It might be outside the polygon though.
>
> --
> Maxime
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>



More information about the postgis-users mailing list