[GRASS-user] generalize polygons including holes

Moritz Lennert mlennert at club.worldonline.be
Wed Feb 4 04:17:38 PST 2015


On 04/02/15 11:36, Robert Nuske wrote:
> Hi GRASS-Users
>
> 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 ?

Moritz



More information about the grass-user mailing list