Bug report #5187
Intersect tool should inform the user if both layers have a similar attribute fieldname title
|Affected QGIS version:||1.7.4||Regression?:|
|Operating System:||Easy fix?:|
|Pull Request or Patch supplied:||No||Resolution:||worksforme|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||14929|
Currently the intersect tool does not check whether the the two layers have a similar fieldname title. In one case, we have two vectors with a "NAME_2" field but with different attribute values. The output layer shows only "NULL"s.
IT should at least warn the user if these attribute names exist.
#2 Updated by Salvatore Larosa almost 9 years ago
I don't know if this is a bug or feature!
Anyway, How can I replicate?
I tested intersect tool with my layers as follows:
layer A: fields[id, Name_2, Area_2]
layer B: fields[id, Name_2, Area_2]
My output layer has the follow fields:
layer C: fields[id, Name_2, Area_2, id_2, Name_3, Area_3]
with no NULL value as expected!
Can you share your data sample?