-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
ftools dissolve (on master) produces empty output if input has invalid geometries #21779
Comments
Author Name: Giovanni Manghi (@gioman) The real issue in now another: on QGIS > 2.8.3 with the provided sample data dissolve produces an empty output. The problem with the "hole" on qgis <= 2.8.3 is somehow expected: the input file has invalid geometries (you can see it clearly also in the attached screenshot) and ftools dissolve (as any other tool in ftools) is fragile in this cases. Anyway in QGIS we have robust alternatives, try the grass or saga dissolve in the Processing toolbox and you'll get the expected results.
|
Author Name: Michele Mor (@Michele100) Hi Giovanni, I have tried with GRASS and it had the same issue. |
Author Name: Giovanni Manghi (@gioman)
weird, it works ok here.
your layer has a few geometry errors (see below), said that recently the qgis geometry support has been rewritten and a few native tools (geoprocessing tools) have now to be updated to cope with this changes. Gap check: TopologyException: Input geom 0 is invalid: Self-intersection at or near point -2.4302612316084109 52.445251349342556 at -2.4302612316084109 52.445251349342556 |
Author Name: Michele Mor (@Michele100) Hi Giovanni, |
Author Name: Alexander Bruy (@alexbruy) Fixed in changeset "62a571d6dd3dbdaa97f35cc6795dc064d18b7a82".
|
Author Name: Alexander Bruy (@alexbruy)
|
Author Name: Giovanni Manghi (@gioman) The "ftools" category is being removed from the tracker, changing the category of this ticket to "Processing/QGIS" to not leave the category orphaned. |
Author Name: Jürgen Fischer (@jef-n)
Old description: Hi. The original layer is Units, the dissolved layer is sectors. I have attached 2 zip files. Note: using QGIS 2.12 dissolve does not work! Thanks. Old description: Hi. The original layer is Units, the dissolved layer is sectors. I have attached 2 zip files. Note: using QGIS 2.12 dissolve does not work! Thanks.
|
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Michele Mor (@Michele100)
Original Redmine Issue: 13752
Affected QGIS version: master
Redmine category:processing/qgis
New description, see #21779 (comment)
Old description:
Hi.
Using QGIS 2.8.3 Wien I use Vector/Geoprocessing Tools/Dissolve to merge together polygons.
Unfortunately my new layer has an hole (missing polygons) where my original layer has polygons.
I am not able to add a screenshot within this text, so I attached it as a file.
The original layer is Units, the dissolved layer is sectors.
To dissolve the original layer I have used field PCSECTOR.
I have attached 2 zip files.
Note: using QGIS 2.12 dissolve does not work!
Thanks.
Michele
The text was updated successfully, but these errors were encountered: