[GRASS-user] the area of a polygon?

Martin Wegmann wegmann at biozentrum.uni-wuerzburg.de
Tue Mar 11 11:55:07 EDT 2008


On Dienstag, 11. März 2008 16:35:36 Corrado wrote:
> Dear friends,
>
> 1) v.report does not allow for selecting only one polygon in a map with
> many polygons.
>
> 2) the query button returns the length of the boundary, but not the area.
>
> 3) v.to.db does not allow for selecting only one polygon.
>
> Am I doing something wrong?

perhaps this helps:

r.to.vect input= output=out feature=area
v.db.addcol map=out layer=1 'columns=area double' 
v.to.db map=out type=point,line,boundary,centroid layer=1 qlayer=1 option=area 
units=meters column=area 
v.to.rast out output=out_area use=attr col=area --o

> On Tuesday 11 March 2008 15:07:30 Corrado wrote:
> > Dear friends,
> >
> > how do you measure the area of a polygon in grass?
> >
> > Best Regards
>
> Best Regards



-- 
**********************************************************************

University of Wuerzburg
Institute of Geography
Department of Remote Sensing
Am Hubland
97074 Wuerzburg, Germany
@
German Aerospace Center (DLR)
German Remote Sensing Data Center (DFD)
Environment and Security (US)

Phone:  +49-(0)931-888-4797
Fax:    +49-(0)931-888-4961
Email:  martin.wegmann at uni-wuerzburg.de

**********************************************************************


More information about the grass-user mailing list