소스 검색

v.dissolve: column can be integer or string

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@51246 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 13 년 전
부모
커밋
f50516a63c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      scripts/v.dissolve/v.dissolve.py

+ 1 - 1
scripts/v.dissolve/v.dissolve.py

@@ -66,7 +66,7 @@ def main():
         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)