Feature request #6804

Add statistics to the dissolve tool

Added by Giovanni Manghi over 4 years ago. Updated 3 months ago.

Status:Open Start Date:12/01/2012
Priority:Normal Due date:
Assigned to:- % Done:


Target version:Future Release - Nice to have
Platform: Resolution:
Platform version: Pull Request or Patch supplied:No
Status info: Tag:


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:


Related issues

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


Updated by Giovanni Manghi over 2 years ago

see also #11486

Updated by julie - over 2 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.

Updated by Giovanni Manghi over 2 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.

Updated by julie - over 2 years ago

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

Updated by Bernhard Ströbl over 1 year ago

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

Updated by Giovanni Manghi over 1 year 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!

Updated by Giovanni Manghi 3 months ago

  • Category changed from fTools to Processing/QGIS

Also available in: Atom