Bug report #21584

Union/Difference fails

Added by Massimiliano Moraca almost 6 years ago. Updated almost 6 years ago.

Status:Open
Priority:High
Assignee:-
Category:Processing/QGIS
Affected QGIS version:3.6.0 Regression?:Yes
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29400

Description

I think I've found a bug in version 4.4. I'm trying to use Union with two vectors and QGIS show me this error:
GEOS geoprocessing error: difference failed

I do the same thing with 2.18.28 version and all work fine.

In the attachment there are two vectors and five screenshots

dataset.zip - Two vectors and five screenshots (277 KB) Massimiliano Moraca, 2019-03-14 11:46 AM

History

#1 Updated by Giovanni Manghi almost 6 years ago

  • Operating System deleted (Windows 10)
  • Affected QGIS version changed from 3.4.4 to 3.6.0
  • Category changed from Unknown to Processing/QGIS
  • Subject changed from QGIS 3.4: GEOS geoprocessing error: difference failed to Union/Difference fails

The error is:

TopologyException: found non-noded intersection between LINESTRING (429648 4.53383e+06, 429649 4.53384e+06) and LINESTRING (429648 4.53383e+06, 429575 4.53384e+06) at 429648.43140567275 4533834.818665728
Execution failed after 1.65 seconds

Intersection seems to work.

SAGA and GRASS tools are ok.

#2 Updated by Massimiliano Moraca almost 6 years ago

Giovanni Manghi wrote:

The error is:

TopologyException: found non-noded intersection between LINESTRING (429648 4.53383e+06, 429649 4.53384e+06) and LINESTRING (429648 4.53383e+06, 429575 4.53384e+06) at 429648.43140567275 4533834.818665728
Execution failed after 1.65 seconds

Intersection seems to work.

SAGA and GRASS tools are ok.

With which tool have you found this error?

#3 Updated by Giovanni Manghi almost 6 years ago

With which tool have you found this error?

processing > vector overlay > union/difference

Also available in: Atom PDF