<div dir="ltr">Markus,<div>Is this some of the code you are talking about: <a href="http://nicky.vanforeest.com/misc/fitEllipse/fitEllipse.html">http://nicky.vanforeest.com/misc/fitEllipse/fitEllipse.html</a></div><div><br></div><div>I do not see any other code than this when I search for it on Google.</div><div>Thanks,</div><div>John</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">-------------------------------------------------------------------------------<br><div><a href="https://sites.google.com/site/johnwallx/" target="_blank">John Wall</a></div><div><br></div><div>Earth Science Ph.D. Student</div><div>Department of Marine, Earth & Atmospheric Sciences</div><div>North Carolina State University</div></div></div>
<br><div class="gmail_quote">On Sun, Sep 21, 2014 at 7:06 AM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Hi Anna<span class=""><br>
On Sep 21, 2014 2:05 AM, "Anna Petrášová" <<a href="mailto:kratochanna@gmail.com" target="_blank">kratochanna@gmail.com</a>> wrote:<br>
><br>
><br>
><br>
> On Sat, Sep 20, 2014 at 7:48 AM, Markus Neteler <<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>> wrote:<br>
>><br>
>> On Fri, Sep 19, 2014 at 8:30 PM, John Wall <<a href="mailto:jwall@ncsu.edu" target="_blank">jwall@ncsu.edu</a>> wrote:<br>
>> > Hello,<br>
>> > I am trying to fit a minimum fitting/bounding ellipse to each polygon in a<br>
>> > series of polygons. Ideally the ellipse would also give me attributes such<br>
>> > as major and minor axes lengths along with orientation. Is this possible<br>
>> > within GRASS 7.0 on a Mac? I cannot seem to find a tool to do this.<br>
>><br>
>> I found some Python code online, so the best solution might be to<br>
>> combine that with pygrass:<br>
><br>
><br>
> Markus, perhaps you wanted to give us a link to the Python code?</span></p>
<p>I just found some code using google search (first hits) but did not check their license. That's why I did not add the links right away.</p>
<p>Markus (on mobile at time)<br></p><div class="HOEnZb"><div class="h5">
<p>> Anna <br>
>><br>
>><br>
>> <a href="http://grass.osgeo.org/grass71/manuals/libpython/pygrass_index.html" target="_blank">http://grass.osgeo.org/grass71/manuals/libpython/pygrass_index.html</a><br>
>> <a href="http://grass.osgeo.org/grass71/manuals/libpython/pygrass_vector.html" target="_blank">http://grass.osgeo.org/grass71/manuals/libpython/pygrass_vector.html</a><br>
>><br>
>> Markus<br>
>> _______________________________________________<br>
>> grass-user mailing list<br>
>> <a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
><br>
><br>
</p>
</div></div></blockquote></div><br></div>