[GRASS-user] conditional dissolve

Markus Neteler neteler at osgeo.org
Mon May 24 15:34:26 EDT 2010


On Mon, May 24, 2010 at 3:30 PM, A. Marcia BARBOSA
<anamarciabarbosa at gmail.com> wrote:
> Hi,
>
> I'm using the shapefile of the GADM database of Global Administrative
> Areas (http://www.gadm.org), but the subdivisions of some countries
> (such as Spain, Slovenia and others) are too small. In order to get
> divisions that are more evenly sized among all countries, I need to
> dissolve sub-regions to regions, but only within some of the
> countries. Is there a way to use a "conditional dissolve" on only some
> selected countries?

In GRASS, "v.dissolve" is just a frontend to "v.extract -d ...". Since
the latter has
a "where" parameter, you could try with that.

Please report, perhaps it makes sense to add the "where" parameter to
v.dissolve then.

Best
Markus


More information about the grass-user mailing list