lines and areas

David Finlayson david_finlayson at yahoo.com
Thu Oct 19 20:08:06 EDT 2000


Why not grid your contours into a raster, slice them
by elevation and then extract the area of all cells
equal to a given elevation?  


--- Malcolm Williamson <malcolm at cast.uark.edu> wrote:
> Stefan,
> In v.digit, you can re-type lines to area edges. You
> can also do this in
> bulk by converting to ASCII, using an editor to
> change all leading "L"s
> to "A"s, and re-importing with v.in.ascii. Either
> way, you'll have to
> manually attribute all of the areas in v.digit.
> Also, I'm really not
> sure how robust the GRASS topological model is,
> especially concerning
> multiple levels of nested areas ("islands").
> 
> Best regards,
> 	-Malcolm Williamson
> 	 CAST - University of Arkansas
> 
> > Stefan.Neumann at agrar.uni-giessen.de wrote:
> > 
> > Hi Grass,
> > 
> > is there a way to convert lines to areas ? I
> create lots of
> > contour-lines with r.contour and I would like to
> make statistics
> > (r.report type=area) on the areas surrounded by
> the contour-lines.
> > This doesn't work though, because r.contour only
> creates lines, not
> > areas.
> > 
> > Also I would like to create a map where the areas
> are filled with a
> > color according to their attribute (with
> v.to.rast). This also only
> > seems to work with areas.
> > 
> > TIA, Stefan
> 


=====
--
David Finlayson
david_finlayson at yahoo.com
University of Washington 
Box 351310 
Seattle, WA   98195 - 1310

__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/




More information about the grass-user mailing list