#1305 closed bug (fixed)
QgsVectorDataProvider.uniqueValues always returns empty list
Reported by: | cfarmer | Owned by: | nobody |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | |
Component: | Python plugins and bindings | Version: | Trunk |
Keywords: | uniqueValues | Cc: | |
Must Fix for Release: | Yes | Platform: | Linux |
Platform Version: | Awaiting user input: | no |
Description
No matter what data is used, uniqueValues always returns an empty list. This has been tested on a number of datasets (shapefiles).
Change History (3)
comment:1 by , 16 years ago
Component: | Vectors → Python |
---|
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r9683. Now this works fine:
lst = provider.uniqueValues(3)
Note:
See TracTickets
for help on using tickets.
seems to only apply to the python binding