Skip to content

Commit

Permalink
[ftools] use int column for point count (fix #9432)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Mar 26, 2014
1 parent 019f121 commit 48b9ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/fTools/tools/doPointsInPolygon.py
Expand Up @@ -167,7 +167,7 @@ def run(self):
index = polyProvider.fieldNameIndex(unicode(self.fieldName))
if index == -1:
index = polyProvider.fields().count()
fieldList.append( QgsField(unicode(self.fieldName), QVariant.Double, "real", 24, 15, self.tr("point count field")) )
fieldList.append( QgsField(unicode(self.fieldName), QVariant.Int, "int", 10, 0, self.tr("point count field")) )

sRs = polyProvider.crs()
if QFile(self.outPath).exists():
Expand Down

0 comments on commit 48b9ccb

Please sign in to comment.