[postgis-users] biggest rectangle contained within another polygon

tommaso tommasodb at googlemail.com
Wed Dec 4 09:54:25 PST 2013


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: postgis-users-bounces at lists.osgeo.org [mailto:postgis-users-
>> bounces at lists.osgeo.org] 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
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users



More information about the postgis-users mailing list