Skip to content
Permalink
Browse files
Fix for #12812
  • Loading branch information
pcav committed May 22, 2015
1 parent c4b1d25 commit e25fb2de6d295fb53da6c6b29e6ec1b6e86865c3
Showing with 3 additions and 7 deletions.
  1. +3 −7 python/plugins/processing/algs/qgis/scripts/Number_of_unique_values_in_classes.py
@@ -1,13 +1,9 @@
##Vector table tools=group
##Input=vector
##Class_field=field input
##Value_field=field input
##input=vector
##class_field=field input
##value_field=field input
##N unique values=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 e25fb2d

Please sign in to comment.