Bug report #13805

remove *list unique values* and *basic statistic*

Added by matteo ghetta over 8 years ago. Updated almost 7 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Processing/QGIS
Affected QGIS version:master Regression?:
Operating System: Easy fix?:
Pull Request or Patch supplied:No Resolution:wontfix
Crashes QGIS or corrupts data:No Copied to github as #:21830

Description

with the new Statistic panel the 2 function in Vector -> Analysis Tools are now obsolete..
should not they be removed?

History

#1 Updated by Médéric RIBREUX over 8 years ago

Hello,

how do you get unique values with the statistic panel ?

#2 Updated by matteo ghetta over 8 years ago

Hi,
I think that the Variety expains unique values..

http://lists.osgeo.org/pipermail/qgis-developer/2015-October/039896.html

#3 Updated by Médéric RIBREUX over 8 years ago

Hello,

list unique values extracts the individual values for a field in a layer. Then you can copy/paste those individual values elsewhere. So I think that we can't drop it from the Vector menu as it is the only way that I've found so far to extract those values. One good thing that could be done is to make the two processing tools "List unique values" and "Basic Statistics" export their results to a table-only layer so users will be able to do what they want with it (copy/paste, modify, make other calculations). For the moment those processing tools are creating a Processing viewer and the results are in HTML. In my opinion it is not the best way to deal with data.

Furthermore, you cannot copy the statistic panel contents (just one cell).

So, let's do the following:

- Make the statistic panel contents be able to copy data in the clipboard (not just the selected cell) with right-click or Ctrl+C.
- Once done, remove Vector Menu Basic Statistics (or point the menu entry to the statistics panel).
- Implement a table export for processing tool "List unique values".
- Once done, make the menu entry for "List unique values" points to Processing tool.
- Implement table export for processing tools "Basic Statistics for numeric fields" & "Basic Statistics for text fields" (perhaps in another bug report)

Much more work but I think that with it, there will be less user frustration.

#4 Updated by Nyall Dawson over 8 years ago

So, let's do the following:

- Make the statistic panel contents be able to copy data in the clipboard (not just the selected cell) with right-click or Ctrl+C.
- Once done, remove Vector Menu Basic Statistics (or point the menu entry to the statistics panel).
- Implement a table export for processing tool "List unique values".
- Once done, make the menu entry for "List unique values" points to Processing tool.
- Implement table export for processing tools "Basic Statistics for numeric fields" & "Basic Statistics for text fields" (perhaps in another bug report)

+1 to all this, sounds like a good solution. Do you mind filing seperate bugs/feature requests for each of these so they can be tracked individually?

#5 Updated by Alexander Bruy almost 8 years ago

  • Status changed from Open to Closed
  • Resolution set to wontfix

Both tools still may be useful, for example when creating Processing models or batch processing.

#6 Updated by Giovanni Manghi almost 7 years ago

The "ftools" category is being removed from the tracker, changing the category of this ticket to "Processing/QGIS" to not leave the category orphaned.

Also available in: Atom PDF