[GRASS-user] conditional dissolve

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?

Cheers
Márcia

On Mon, May 24, 2010 at 3:30 PM, A. Marcia BARBOSA
<anamarciabarbosa@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