Skip to content

Commit 48b9ccb

Browse files
committed
[ftools] use int column for point count (fix #9432)
1 parent 019f121 commit 48b9ccb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/fTools/tools/doPointsInPolygon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def run(self):
167167
index = polyProvider.fieldNameIndex(unicode(self.fieldName))
168168
if index == -1:
169169
index = polyProvider.fields().count()
170-
fieldList.append( QgsField(unicode(self.fieldName), QVariant.Double, "real", 24, 15, self.tr("point count field")) )
170+
fieldList.append( QgsField(unicode(self.fieldName), QVariant.Int, "int", 10, 0, self.tr("point count field")) )
171171

172172
sRs = polyProvider.crs()
173173
if QFile(self.outPath).exists():

0 commit comments

Comments
 (0)