Skip to content

Commit b16b874

Browse files
committedMay 20, 2015
[processing] fix Number of unique values in classes alg (fix #12731)
1 parent 6762074 commit b16b874

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎python/plugins/processing/algs/qgis/scripts/Number_of_unique_values_in_classes.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
##value_field=field input
55
##output=output vector
66

7+
from PyQt4.Qt import QVariant
8+
9+
from qgis.core import QgsField, QgsFeature
10+
711
layer = processing.getObject(input)
812
provider = layer.dataProvider()
913
fields = provider.fields()

0 commit comments

Comments
 (0)
Please sign in to comment.