[GRASS-user] Problem with v.generalize to simplify areas

Markus Metz markus.metz.giswork at googlemail.com
Thu Sep 17 09:55:15 EDT 2009


Markus Neteler wrote:
> On Wed, Sep 16, 2009 at 9:40 PM, Markus Metz
> <markus.metz.giswork at googlemail.com> wrote:
>   
>> v.generalize does a great job with simplifying or smoothing lines, but areas
>> either disappear or attribute attachment changes. That's why I would
>> recommend not to use v.generalize for areas. v.clean tool=prune behaves the
>> other way around, areas are always preserved, with attribute attachment, as
>> they are, but line simplification does not always work, i.e. produces
>> strange results or does not simplify at all. Should we swap the warnings,
>> e.g. say for v.generalize that there are problems with processing areas and
>> for areas use v.clean tool=prune instead?
>>     
>
> Yes, and also perhaps add a type test? Like v.select and v.overlay which
> do not work yet with all types (although desired :-) ).
>   
I have changed the manual of v.clean and added warnings to v.generalize 
in all branches (r39229/31 for 6.4, 6.5, 7.0 respectively) when 
boundaries are modified.

Markus M


More information about the grass-user mailing list