Bug report #10039
line intersection fails if ID name is the same
|Affected QGIS version:||2.2.0||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||end of life|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||18520|
The line intersection tool fails if the field name of the two layers involved in the analysis is the same. Example: if I want to perform the line intersection between field ID of layer_1 and field ID of layer_2, the operation results the intersection for the ID of only layer_1.
See attach for a graphical comparison of the two different results.
#1 Updated by Filip Mahieu about 7 years ago
- File ErrorIntersectIDNameTheSame.PNG added
It seems also that when you intersect two shapes that have each a column with the same name (e.g. 'ID'), the resulting table does not give attribute-info for both fields in the intersection layer. I changed the name of one of the two fields, and then it was displayed.
In attach you see the attribute table of the intersect. You see ID and id_1 in which only one field is filled..
#5 Updated by Giovanni Manghi over 2 years ago
- Resolution set to end of life
- Status changed from Open to Closed
End of life notice: QGIS 2.18 LTR