<div dir="ltr">Maybe you could try with a more powerfull langage,<div>like PL-R.</div><div>You would probably find some already existing useful brick for what you want to do.</div><div><br></div><div><br></div><div>Cheers,</div>
<div>RĂ©mi-C</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/5 Martin Davis <span dir="ltr"><<a href="mailto:mtnclimb@telus.net" target="_blank">mtnclimb@telus.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is there an existing function to do this? No.<br>
Is it easy to write such a function? No, not if<br>
<br>
<a href="http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.47.3370&rep=rep1&" target="_blank">http://citeseerx.ist.psu.edu/<u></u>viewdoc/download?doi=10.1.1.<u></u>47.3370&rep=rep1&</a> type=pdf<br>

<br>
is the simplest algorithm for solving this problem in general terms.<br>
<br>
An interesting problem, though. Would be useful for labelling purposes.<div class="HOEnZb"><div class="h5"><br>
<br>
On 12/4/2013 2:06 AM, tommaso wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello, I need to calculate the biggest rectangle which is contained within another polygon. A sort of inner envelope or inner bounding box.<br>
I found this interesting article: <a href="http://cgm.cs.mcgill.ca/~athens/cs507/Projects/2003/DanielSud/" target="_blank">http://cgm.cs.mcgill.ca/~<u></u>athens/cs507/Projects/2003/<u></u>DanielSud/</a><br>
Is it possible in Postgis?<br>
<br>
I have attached a picture with a example of what I need.<br>
<br>
</blockquote>
<br></div></div><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-<u></u>bin/mailman/listinfo/postgis-<u></u>users</a><br>
</div></div></blockquote></div><br></div>