Bug report #16122

Processing (gdal) dissolve polygon fails

Added by matteo ghetta almost 3 years ago. Updated almost 3 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:Victor Olaya
Category:Processing/OGR
Affected QGIS version:master Regression?:No
Operating System:Linux Mint Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:24034

Description

with test data (dissolve_polys, polys, multypolys) the algorithm always fails. This the error:

GDAL command output:
Warning 6: Normalized/laundered field name: 'ST_Union('geometry')' to 'ST_Union(''
Converting outputs
Loading resulting layers

The following layers were not correctly generated.
Dissolved
You can check the log messages to find more information about the execution of the algorithm

Associated revisions

Revision 44698d45
Added by Alexander Bruy almost 3 years ago

[processing] don't quote geometry column name (fix #16122)

History

#1 Updated by Alexander Bruy almost 3 years ago

  • Status changed from Open to Closed

#2 Updated by Giovanni Manghi almost 3 years ago

  • Status changed from Closed to In Progress
  • Category changed from Processing/GRASS to Processing/OGR

#3 Updated by Giovanni Manghi almost 3 years ago

  • Resolution set to invalid
  • Status changed from In Progress to Closed

This is error

Warning 6: Normalized/laundered field name: 'ST_Union('geometry')' to 'ST_Union(''

is an ogr2ogr problem and not a qgis one.

It only happens when dissolving using a text attribute and one of the features has 0 area and the attribute empty, as it happens for one of the features in the dissolve_polys sample data.

Is definitely a edge case, that must be addressed upstream.

#4 Updated by Paolo Cavallini almost 3 years ago

Could you please open a ticket upstream?
Thanks.

Also available in: Atom PDF