[GRASS-user] Minimum fitting ellipse with attributes

Markus Neteler neteler at osgeo.org
Sat Sep 20 04:48:14 PDT 2014


On Fri, Sep 19, 2014 at 8:30 PM, John Wall <jwall at ncsu.edu> 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:

http://grass.osgeo.org/grass71/manuals/libpython/pygrass_index.html
http://grass.osgeo.org/grass71/manuals/libpython/pygrass_vector.html

Markus


More information about the grass-user mailing list