[GRASSLIST:814] Re: Vector to Raster Lakes

John Gillette JGillette at rfmd.com
Fri Jul 25 11:39:41 EDT 2003


Kurt,

I affectionately refer to this problem as the "famous Texas"
problem, referring to [GRASSLIST:4965] US Census boundary file problem
where the state of Texas would not show up.

Radim looked at the problem and made a few suggestions which I will pass on.
(See [GRASSLIST:4993] Re: US Census boundary file problem for Radim's
reply)

Although the Texas problem may well be different from yours, here are 
some additional suggestions from that solution which may apply to your problem.

Suggestions:
(1) use the error capability of v.support:
  v.support -r map=map_with_problem err=err
  v.out.ascii input=err output=err
  
  v.out.ascii will let you look at the error in ascii if that is helpful.

(2) v.rm.dangles can be used to remove dangling area edges:
  v.rm.dangles input=map_with_problem output=map_fixed
  cp dig_att/map_with_problem dig_att/map_fixed
  cp dig_cats/map_with_problem dig_cats/map_fixed
  v.support -r map=map_fixed

  v.rm.dangles used without a maxlength parameter will remove any area
  edge lines with a connection at only 1 end. 

One other note, there are 2 types of lines in Grass. Lines used in
areas must be of type "area edge" (A) as opposed to lines (L).  

Let me know what you find out.

John




More information about the grass-user mailing list