Bug report #5187

Intersect tool should inform the user if both layers have a similar attribute fieldname title

Added by maning sambale about 12 years ago. Updated almost 7 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Processing/QGIS
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

Description

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.

History

#1 Updated by Alexander Bruy almost 12 years ago

  • Category changed from Vectors to 44

#2 Updated by Salvatore Larosa almost 12 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?

#3 Updated by Giovanni Manghi almost 12 years ago

  • Status changed from Open to Resolved

Can you share your data sample?

maybe this was already fixed in master? Maning please give it a try with master and report back.

#4 Updated by Paolo Cavallini over 11 years ago

  • Target version set to Version 2.0.0

#5 Updated by Alexander Bruy over 11 years ago

  • Status changed from Resolved to Feedback

#6 Updated by Giovanni Manghi over 10 years ago

  • Status changed from Feedback to Closed
  • Resolution set to worksforme

Closed for lack of feedback, reopen if necessary.

#7 Updated by Giovanni Manghi almost 7 years ago

The "ftools" category is being removed from the tracker, changing the category of this ticket to "Processing/QGIS" to not leave the category orphaned.

Also available in: Atom PDF