v.to.rast

Walter Winant wwinant at asrr.arsusda.gov
Tue Dec 2 07:46:56 EST 1997


I think your problem may be that many of the polygons are not closed.  If
you go into v.digit you can edit the polygons to close them. I am short on
details but I hope this helps.
Walter Winant
USDA-ARS-ASWCRL
P. O. Box 400, Beaver, WV 25832
304 - 256 - 2831,  wwinant at asrr.arsusda.gov

----------
> From: Clifton Wood <cbwood at vt.edu>
> To: grassu at cecer.army.mil
> Subject: v.to.rast
> Date: Monday, December 01, 1997 4:23 PM
> 
> Hello all!
> 
> I have a fairly large vector file containing field boundaries in a
> specific county. I am currently trying to convert this vector
> file to a raster using v.to.rast. I do the following:
> 
> g.region vect=flds.vector res=1
> v.to.rast input=flds.vector output=flds.vector.out
> 
> After conversion, however, the resulting raster file is *mostly*
> empty. With only certain fields in color (and the rest white).
> I've *checked* the attributes file of the vector map and it
> contains some 902 entries, but when I do a v.stats on my fields
> layer, I get:
> 
> | Format: Version 4.0  (Level 2 access)  (Portable)
> | 
> | 
> | Number of Lines:  2775
> | Number of Nodes:  1865
> | Number of Areas:   916   (incomplete)
> | Number of Isles:    23   (incomplete)
> | Number of Atts :   896
> 
> I've tried running v.support, but I can't seem to get that
> "(incomplete)" notice
> to go away. Does anyone have any idea as to what my problem is and
> whether
> or not it can be fixed so I can finally get this vector map in raster
> format?
> 
> *Any* help is appreciated. Thanks in advance.
> 
> Take care.
> -- 
> ============================================================
> Clifton B. Wood
> Programmer/Analyst for Virginia Tech's AGNIS Department
> -------------------- Thought of the Day --------------------
> windows95 = n.  32 bit extensions and a graphical shell for
> a 16 bit patch to an 8 bit operating system originally coded
> for a 4 bit microprocessor, written by a 2 bit company that 
> can't stand 1 bit of competition.



More information about the grass-user mailing list