Feature request #6804

Add statistics to the dissolve tool

Added by Giovanni Manghi almost 5 years ago. Updated 7 months ago.

Status:Open
Priority:Normal
Assignee:-
Category:Processing/QGIS
Pull Request or Patch supplied:No Resolution:
Easy fix?:No

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 10/15/2011

History

#1 Updated by Giovanni Manghi about 3 years ago

see also #11486

#2 Updated by julie - almost 3 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 almost 3 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 - almost 3 years ago

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

#5 Updated by Bernhard Ströbl about 2 years ago

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

#6 Updated by Giovanni Manghi about 2 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 11 months ago

  • Category changed from 44 to Processing/QGIS

#8 Updated by Giovanni Manghi 7 months ago

  • Easy fix? set to No

Also available in: Atom PDF