Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#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 jef, 16 years ago

Component: VectorsPython

seems to only apply to the python binding

comment:2 by wonder, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in r9683. Now this works fine:

lst = provider.uniqueValues(3)

comment:3 by (none), 15 years ago

Milestone: Version 1.0.0

Milestone Version 1.0.0 deleted

Note: See TracTickets for help on using tickets.