Hi, good to know. I noted this in documentation (r54720) supposing that this is always true.
Please, try things like these note in documentation. Vaclav On 20 January 2013 17:42, Pietro <[email protected]> wrote: > On Sun, Jan 20, 2013 at 5:33 PM, Martin Landa <[email protected]> wrote: >> Hi, >> >> 2013/1/20 Pietro <[email protected]>: >>> I'm not able to compute the area of a polygon using G_area_of_polygon, >> >> try to call before G_area_of_polygon() fn >> G_begin_polygon_area_calculations(). It should help. > > Thank you Martin! > it's working :-) > >>>> libgis.G_begin_polygon_area_calculations() > 1 >>>> libgis.G_area_of_polygon(bound.c_points.contents.x, > ... bound.c_points.contents.y, > ... bound.c_points.contents.n_points) > 4.0 > _______________________________________________ > grass-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-dev _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
