[GRASS-SVN] r51246 - grass/trunk/scripts/v.dissolve
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Apr 4 03:46:43 EDT 2012
Author: mmetz
Date: 2012-04-04 00:46:42 -0700 (Wed, 04 Apr 2012)
New Revision: 51246
Modified:
grass/trunk/scripts/v.dissolve/v.dissolve.py
Log:
v.dissolve: column can be integer or string
Modified: grass/trunk/scripts/v.dissolve/v.dissolve.py
===================================================================
--- grass/trunk/scripts/v.dissolve/v.dissolve.py 2012-04-03 18:08:20 UTC (rev 51245)
+++ grass/trunk/scripts/v.dissolve/v.dissolve.py 2012-04-04 07:46:42 UTC (rev 51246)
@@ -66,7 +66,7 @@
except KeyError:
grass.fatal(_('Column <%s> not found') % column)
- if coltype['type'] not in ('INTEGER', 'CHARACTER'):
+ if coltype['type'] not in ('INTEGER', 'SMALLINT', 'CHARACTER', 'TEXT'):
grass.fatal(_("Key column must be of type integer or string"))
f = grass.vector_layer_db(input, layer)
More information about the grass-commit
mailing list