[postgis-users] Get the minimum rectangle bounding a geometry

Sandro Santilli strk at keybit.net
Tue Feb 21 06:31:29 PST 2012


On Tue, Feb 21, 2012 at 03:07:51PM +0100, Alessandro Candini wrote:
> Hi list.
> 
> Is there a way to obtain the minimum rectangle containing a geometry?
> 
> With ST_Envelope I get a rectangle, but is not the one with the
> minimum area...

You mean a possibli rotated rectangle ?

--strk;

  ,------o-. 
  |   __/  |    Delivering high quality PostGIS 2.0 !
  |  / 2.0 |    http://strk.keybit.net
  `-o------'




More information about the postgis-users mailing list