Bug report #5861

Vector menu and Sextante -> ftools behaving inconsistently

Added by ramon . over 12 years ago. Updated over 7 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Processing/QGIS
Affected QGIS version:1.8.0 Regression?:
Operating System: Easy fix?:
Pull Request or Patch supplied:No Resolution:worksforme
Crashes QGIS or corrupts data:No Copied to github as #:15325

Description

Following on from Giovanni's suggestion I'm filing against both Sextante and F-Tools.

In QGIS the two ways of reaching the Geoprocessing -> Intersection tool are giving very different results. Details are below, but since these should give the same result, something is clearly wrong.

Method:
Using the following files:
http://www.mappinghacks.com/data/TM_WORLD_BORDERS_SIMPL-0.2.zip
and
http://lists.osgeo.org/pipermail/qgis-user/attachments/20120622/8b8559cf/attachment.zip
(Note: second file has no projection details, and needs to be set to WGS84)

Using the Vector -> Geoprocessing Tools -> Intersection (point in first field, polygon in second)
Gives an invalid geometry warning, and an empty shape file. (attached VectorIntersction.zip)

Using Sextante -> Ftools -L Geoprocessing Tools -> Intersection (also point in first field, polygon in second)
Gives no warinings and a shape file which is essentially a one to many join. (attached SextanteIntersection.zip)

SextanteIntersection.zip (1.89 KB) ramon ., 2012-06-25 06:34 AM

VectorIntersection.zip (849 Bytes) ramon ., 2012-06-25 06:34 AM

Associated revisions

Revision 91862c34
Added by Alexander Bruy over 12 years ago

Merge pull request #188 from slarosa/master

Fix #5861

History

#1 Updated by Alexander Bruy over 12 years ago

  • Status changed from Open to Closed

#2 Updated by Pedro Venâncio almost 12 years ago

  • Status changed from Closed to Reopened

I'm with this same problem in QGIS 1.8 on Windows 7.

I've tested now with the master version compiled in the last weekend, on Xubuntu 12.04, and the result is similar, with the exception of the processing on Vector -> Geoprocessing Tools -> Intersect, that is not even executed. I leave here a screencast of this test with the master version:

https://dl.dropbox.com/u/5772257/qgis/point_polygon_intersection.ogv

Anyone confirm?

#3 Updated by maning sambale over 11 years ago

I confirm that Vector(fTools) and Sextante shows different results:

Some example are:

#4 Updated by Giovanni Manghi over 11 years ago

  • Operating System deleted (macos, win7, winXP)
  • Status changed from Reopened to Feedback

what is the status of this ticket in the latest master revision?

#5 Updated by Alexander Bruy about 11 years ago

Any feedback?

#6 Updated by Giovanni Manghi about 11 years ago

  • Status changed from Feedback to Closed
  • Resolution set to worksforme

Closing for lack of feedback, reopen if necessary.

#7 Updated by Giovanni Manghi over 7 years ago

The "ftools" category is being removed from the tracker, changing the category of this ticket to "Processing/QGIS" to not leave the category orphaned.

Also available in: Atom PDF