[GRASS-user] Minimum fitting ellipse with attributes

Markus Neteler neteler at osgeo.org
Sun Sep 21 04:06:12 PDT 2014


Hi Anna
On Sep 21, 2014 2:05 AM, "Anna Petrášová" <kratochanna at gmail.com> wrote:
>
>
>
> On Sat, Sep 20, 2014 at 7:48 AM, Markus Neteler <neteler at osgeo.org> wrote:
>>
>> 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:
>
>
> 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
>> grass-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20140921/edf80084/attachment.html>


More information about the grass-user mailing list