[GRASS-user] generalize polygons including holes

Robert Nuske rnuske at gwdg.de
Thu Feb 5 00:02:40 PST 2015


Hi Moritz & GRASS-List

> > is there a way to generalize polygons including their holes?
> > I am not too worried about topology, there are only polygons of one class
> > in the dataset.
> > 
> > 
> > I tried the following
> > v.generalize in=m3 out=m5 type=area method=douglas threshold=5000
> > 
> > which simplified the "outer boundaries" okay but did not touch the "inner
> > boundaries"/ holes of the polygon.
> > 
> > 
> > Outer boundaries are on the left side in the picture and holes on the
> > right
> > http://i.imgur.com/hHKr15m.png
> 
> It looks like the red boundaries are the generalized version of the
> original blue ones. Is that correct ? Are you sure that the original
> boundaries of the holes are identical to the new ones ? Could you
> display the result with polygon fill color set to transparent ?

That's right.
Original vector map is blue and simplified vector is red. 
Both layers are 50% opaque in the following image
http://i.imgur.com/Rsx7Kh1.png


This is GRASS 6.4.4 on ubuntu 14.04.


thanks for reading
  robert


More information about the grass-user mailing list