Skip to content
Browse files
[processing] fix Number of unique values in classes alg (fix #12731)
  • Loading branch information
alexbruy committed May 20, 2015
1 parent 9b41e7b commit 426596c29faef4b0c233949d47fe947df9d6bfe9
@@ -4,6 +4,10 @@
##value_field=field input
##output=output vector

from PyQt4.Qt import QVariant

from qgis.core import QgsField, QgsFeature

layer = processing.getObject(input)
provider = layer.dataProvider()
fields = provider.fields()

0 comments on commit 426596c

Please sign in to comment.