Bug report #7618
Distance Matrix entries are only calculated for the first feature
|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|
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.
#6 Updated by Anita Graser over 5 years ago
- Assignee set to vinayan Parameswaran
- Resolution deleted (
- 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).