Marco,<br><br><div class="gmail_quote">On Thu, Jun 7, 2012 at 1:15 PM, Marco <span dir="ltr"><<a href="mailto:marco_gjv@ymail.com" target="_blank">marco_gjv@ymail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:10pt;font-family:tahoma,new york,times,serif"><div><span>Hi Margherita,</span></div><div><br><span></span></div><div><span>Grazie. Its not related to hydrology. I just want to get some shape indexes to characterize networks of polygons (periglacial patterned ground).<br>
</span></div><div><span></span><span>I came to your Grass Add-on because the indexes used in 2D basin morphometry are really adequate to characterize each individual polygon.<br></span></div><div><span><br></span></div><div>
<span>I have already used SAGA GIS and GVSig, which automatically supply shape parameters relating the perimeter of the polygon to its area in various ways. And thatīs already fine information. <br></span></div><div><span>From that I know if the polygon is more elongated or more circular. And maybe more information wonīt add to much... But I still would like to try. Mainly because of the indexes
 which grab the axis and  which relate the polygon to and ideal shape. </span></div><div><br><span></span></div><div><span>Maybe I should focus on doing one thing at a time: 1) axis calculation; and 2) deriving the ideal shape from the centroid of the polygon.</span><span> Then Iīd have great information. <br>
</span></div></div></div></blockquote><div><br></div><div>Have you seen v.to.db[1]? It allows you to calculate some parameters such as area, perimeter, compactness, fractal dimension, etc. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:10pt;font-family:tahoma,new york,times,serif"><div><span></span></div><div><span><br></span></div><div><span>My next step is to go inside you python code (of which I know little) and try to extract the relevant pieces. </span></div>
</div></div></blockquote><div><br></div><div>The code is quite self-explanatory and the formulas are very simple so that you could also calculate some parameters in a spreadsheet, anyways if you need further information don't hesitate to ask. </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:10pt;font-family:tahoma,new york,times,serif"><div><br><span></span></div><div><span>Thank you.</span></div>
<div><span>Marco<br></span></div><div><span>(gonna start a MSc <font><font face="Arial">related to cryosphere geomorphology next Fall)</font></font></span></div></div></div></blockquote><div><br></div><div>Congrats ;-)</div>
<div><br></div><div>ciao madi</div><div> </div></div><div>[1] <a href="http://grass.osgeo.org/gdp/html_grass64/v.to.db.html">http://grass.osgeo.org/gdp/html_grass64/v.to.db.html</a></div>-- <br>Dr. Margherita Di Leo<br>