Bug report #7618
Distance Matrix entries are only calculated for the first feature
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | Victor Olaya | ||
Category: | Processing/Core | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | Yes | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 16543 |
Description
To reproduce, you can simple use the airport.shp dataset from the QGIS sample data. Try to calculate distance matrix. The resulting distance matrix text file only contains entries for the first feature.
I've attached a screenshot too.
This tool used to work correctly in 1.8, so this is a regression.
History
#1 Updated by vinayan Parameswaran over 11 years ago
- Pull Request or Patch supplied changed from No to Yes
submitted a pull request for this issue
#2 Updated by vinayan Parameswaran over 11 years ago
- Status changed from Open to Closed
Fixed in changeset 345a0aef87e265565b37b50da28eb18e4f1ac873.
#3 Updated by vinayan Parameswaran over 11 years ago
- Status changed from Closed to Reopened
wrong fix number caused auto close of this bug..sorry
#4 Updated by vinayan Parameswaran over 11 years ago
- Status changed from Reopened to Feedback
This issue is fixed thanks to the 'iterator bug' fix by Nathan
#5 Updated by Mathieu Pellerin - nIRV over 11 years ago
- Resolution set to fixed
- Status changed from Feedback to Closed
- % Done changed from 0 to 100
#6 Updated by Anita Graser over 10 years ago
- Assignee set to vinayan Parameswaran
- Resolution deleted (
fixed) - Target version changed from Version 2.0.0 to Future Release - High Priority
- Priority changed from Severe/Regression to High
- Status changed from Closed to Reopened
The issue is back in nightly. Only the distances from the first point to all other points are calculated.
Additionally, when the script is finished, one point gets selected. So if you rerun the script without noticing, the result will then only have one line (because only selected points are used by processing).
#7 Updated by Alexander Bruy over 10 years ago
Just tested fTools and all works fine. Seems this issue only in Processing
#8 Updated by Anita Graser over 10 years ago
- Category changed from 44 to 94
- Assignee changed from vinayan Parameswaran to Victor Olaya
#9 Updated by Alexander Bruy over 10 years ago
- Status changed from Reopened to Closed
Fixed in changeset 7f522f92e097c39773fa231318f4d49c7cb4d762.
#10 Updated by Giovanni Manghi over 9 years ago
- Category changed from 94 to Processing/Core