Hello, yes, I mean biggest in terms of area. I more than one rectangle could be found, only one should be returned, not important which one.
Thanks, Tom

On 12/04/2013 03:42 PM, Pierre Racine wrote:
You will have to define "biggest" more precisely. Biggest in terms of area? 
There might be many inner rectangles having the same biggest area. How to choose one over 
the other?

Pierre

-----Original Message-----
From: [email protected] [mailto:postgis-users-
[email protected]] On Behalf Of tommaso
Sent: Wednesday, December 04, 2013 5:07 AM
To: PostGIS Users Discussion
Subject: [postgis-users] biggest rectangle contained within another polygon

Hello, I need to calculate the biggest rectangle which is contained
within another polygon. A sort of inner envelope or inner bounding box.
I found this interesting article:
http://cgm.cs.mcgill.ca/~athens/cs507/Projects/2003/DanielSud/
Is it possible in Postgis?

I have attached a picture with a example of what I need.

Tom
_______________________________________________
postgis-users mailing list
[email protected]
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users

_______________________________________________
postgis-users mailing list
[email protected]
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users

Reply via email to