Vector lines to areas

Malcolm Williamson malcolm at cast.uark.edu
Thu Jan 6 15:13:53 EST 1994


> 
>  
> > 
> >         I have a vector file of lines only, These lines form a set of basins.
> > I need to make a mask such that there is only one or as many as the user wishes
> > basins visible. The problem is that since there are only lines, how to get
> > areas out of them and then I was thinking that I could make a mask by running
> > v.to.rast. Any suggestions ??????
> > 
> > Nalneesh Gaur
> > 
> 
> 	There are two things you could try.
> 
> 	Using v.digit program, "Edit" sub-menu allow you to swith the type of
> vector line from line to polygon bouaries. If the number of polygons are not
> a lot, this is the easy way to solve the problem.
> 
> 	If the number of polygons are a lot, you may also try to use v.out.ascii
> to generate the vector ascii file then doing some global replacement if you are
> familiar with GRASS vector ascii file structure. If you have a problem to work
> out this way, please write me a E-mail directly.
> 
> -------------
> Song Wang                               Phone: (501) 575-6159
> CAST/NCRI                                 Fax: (501) 575-3846
> 12 Ozark Hall                          E-Mail: wang at cast.uark.edu
> University of Arkansas
> Fayetteville, AR 72701       
> 

One additional note: the polygons (areas) must be labeled before you run 
v.to.rast, or else they will not be rasterized.

-- 
Malcolm D. Williamson - Research Assistant       E-mail: malcolm at cast.uark.edu
Center for Advanced Spatial Technologies      Telephone: (501) 575-6159
Ozark Rm. 12                                        Fax: (501) 575-3846 
University of Arkansas              
Fayetteville, AR 72701



More information about the grass-user mailing list