mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Fix for #12812
This commit is contained in:
parent
c4b1d25ab3
commit
e25fb2de6d
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user