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.
Thanks,
John
On Fri, Sep 19, 2014 at 8:30 PM, John Wall <jwall@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:
On Sat, Sep 20, 2014 at 7:48 AM, Markus Neteler <neteler@osgeo.org> wrote:
On Fri, Sep 19, 2014 at 8:30 PM, John Wall <jwall@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:
Markus, perhaps you wanted to give us a link to the Python code?
On Sat, Sep 20, 2014 at 7:48 AM, Markus Neteler <neteler@osgeo.org> wrote:
On Fri, Sep 19, 2014 at 8:30 PM, John Wall <jwall@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:
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.
On Sat, Sep 20, 2014 at 7:48 AM, Markus Neteler <neteler@osgeo.org> wrote:
On Fri, Sep 19, 2014 at 8:30 PM, John Wall <jwall@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:
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.