Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add statistics to the dissolve tool #15952

Closed
qgib opened this issue Dec 1, 2012 · 9 comments
Closed

Add statistics to the dissolve tool #15952

qgib opened this issue Dec 1, 2012 · 9 comments
Labels
Feature Request Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@qgib
Copy link
Contributor

qgib commented Dec 1, 2012

Author Name: Giovanni Manghi (@gioman)
Original Redmine Issue: 6804

Redmine category:processing/qgis


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 issue(s): #14314 (duplicates)
Redmine related issue(s): 4382


@qgib
Copy link
Contributor Author

qgib commented Oct 24, 2014

Author Name: Giovanni Manghi (@gioman)


see also #19756

@qgib
Copy link
Contributor Author

qgib commented Dec 17, 2014

Author Name: julie - (julie -)


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.

@qgib
Copy link
Contributor Author

qgib commented Dec 17, 2014

Author Name: Giovanni Manghi (@gioman)


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.

@qgib
Copy link
Contributor Author

qgib commented Dec 17, 2014

Author Name: julie - (julie -)


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

@qgib
Copy link
Contributor Author

qgib commented Oct 22, 2015

Author Name: Bernhard Ströbl (Bernhard Ströbl)


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

@qgib
Copy link
Contributor Author

qgib commented Oct 22, 2015

Author Name: Giovanni Manghi (@gioman)


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!

@qgib
Copy link
Contributor Author

qgib commented Jan 2, 2017

Author Name: Giovanni Manghi (@gioman)


  • category_id was changed from 44 to Processing/QGIS

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0

@alexbruy
Copy link
Contributor

alexbruy commented Dec 7, 2023

GDAL version of the dissolve tool allows to calculate statistics.

@alexbruy alexbruy closed this as completed Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

2 participants