Markus, Is this some of the code you are talking about: http://nicky.vanforeest.com/misc/fitEllipse/fitEllipse.html
I do not see any other code than this when I search for it on Google. Thanks, John ------------------------------------------------------------------------------- John Wall <https://sites.google.com/site/johnwallx/> Earth Science Ph.D. Student Department of Marine, Earth & Atmospheric Sciences North Carolina State University On Sun, Sep 21, 2014 at 7:06 AM, Markus Neteler <[email protected]> wrote: > Hi Anna > On Sep 21, 2014 2:05 AM, "Anna Petrášová" <[email protected]> wrote: > > > > > > > > On Sat, Sep 20, 2014 at 7:48 AM, Markus Neteler <[email protected]> > wrote: > >> > >> On Fri, Sep 19, 2014 at 8:30 PM, John Wall <[email protected]> wrote: > >> > Hello, > >> > I am trying to fit a minimum fitting/bounding ellipse to each polygon > in a > >> > series of polygons. Ideally the ellipse would also give me attributes > such > >> > as major and minor axes lengths along with orientation. Is this > possible > >> > within GRASS 7.0 on a Mac? I cannot seem to find a tool to do this. > >> > >> I found some Python code online, so the best solution might be to > >> combine that with pygrass: > > > > > > Markus, perhaps you wanted to give us a link to the Python code? > > 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. > > Markus (on mobile at time) > > > Anna > >> > >> > >> http://grass.osgeo.org/grass71/manuals/libpython/pygrass_index.html > >> http://grass.osgeo.org/grass71/manuals/libpython/pygrass_vector.html > >> > >> Markus > >> _______________________________________________ > >> grass-user mailing list > >> [email protected] > >> http://lists.osgeo.org/mailman/listinfo/grass-user > > > > >
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
