Bug report #10039
line intersection fails if ID name is the same
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Processing/QGIS | ||
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 |
Description
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.
History
#1 Updated by Filip Mahieu over 10 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..
#2 Updated by Filip Mahieu over 10 years ago
I work with 'geoprocessing tools'
#3 Updated by Giovanni Manghi almost 8 years ago
- Category changed from 44 to Processing/QGIS
#4 Updated by Giovanni Manghi over 7 years ago
- Regression? set to No
- Easy fix? set to No
#5 Updated by Giovanni Manghi almost 6 years ago
- Resolution set to end of life
- Status changed from Open to Closed
End of life notice: QGIS 2.18 LTR
Source:
http://blog.qgis.org/2019/03/09/end-of-life-notice-qgis-2-18-ltr/