Feature request #6804

Add statistics to the dissolve tool

Added by Giovanni Manghi over 11 years ago. Updated almost 7 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Processing/QGIS
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:15952

Description

When dissolving there is a loss of information because features and their attributes are merged.

It makes sense to allow the user choose if in the resulting features he/she wants to have the attributes computed with some kind of statistics (each attribute with eventually a different stat).

Popular ones in other GIS packages are:

SUM
MEAN
MIN
MAX
RANGE
STD
COUNT
FIRST
LAST


Related issues

Duplicated by QGIS Application - Feature request #4382: ftools: when using the DISSOLVE tool allow controlling ho... Closed 2011-10-15

History

#1 Updated by Giovanni Manghi over 9 years ago

see also #11486

#2 Updated by julie - over 9 years ago

I don't know if it's relevant but I made a plugin which does just this, it's called "dissolve with stats". It's still experimental though.

#3 Updated by Giovanni Manghi over 9 years ago

Hi Julie,

I'm aware of your plugin, thanks for it, is indeed very useful. I would like to suggest to evaluate the possibility to add such stats functionalities to the core qgis dissolve plugin. This way the stats would be available directly in any qgis installation.

I'm personally developing a tool with many different geoprocessing operations, including dissolve with stats, but that will show in the "Processing" toolbox of QGIS. The tool uses pure Spatial SQL to do the geoprocessing.

#4 Updated by julie - over 9 years ago

That would be great ! I'll wait for it.

#5 Updated by Bernhard Ströbl over 8 years ago

I included this issue in #13654, please consider closing this ticket if appropriate.

#6 Updated by Giovanni Manghi over 8 years ago

Hi Bernhard,

I will add ogr/sql tools regardless of the work being done in native qgis tools, for several reasons: I like the flexibility of having GUI tools purely based on spatial SQL queries and because the tools already available have proven to be overall much quicker than the qgis/ftools counterparts. Cheers!

#7 Updated by Giovanni Manghi over 7 years ago

  • Category changed from 44 to Processing/QGIS

#8 Updated by Giovanni Manghi almost 7 years ago

  • Easy fix? set to No

Also available in: Atom PDF