Feature request #16638

Field mapper when copy and pasting geometries

Added by Saber Razmjooei almost 7 years ago. Updated almost 7 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Attribute table
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:24538

Description

I think there was a discussion a while back on the dev list about this feature. But here is my wish-list:

A feature to allow users to map (not in GIS sense) fields from source attribute table to target attribute table when copy and pasting features from one layer to another layer.

Currently, QGIS pastes the source attribute table in the same order as the target layer. See the attached screenshots for the current vs. proposed feature:

Current_copy and paste result.png (6.5 KB) Saber Razmjooei, 2017-05-30 09:45 AM

Proposed_copy and paste result using field mapper.png (5.41 KB) Saber Razmjooei, 2017-05-30 09:45 AM

source_attribute_table.png (5.03 KB) Saber Razmjooei, 2017-05-30 09:46 AM

target_attribute_table.png (4.14 KB) Saber Razmjooei, 2017-05-30 09:47 AM

History

#1 Updated by Saber Razmjooei almost 7 years ago

source_attribute_table.png shows the table where user copies the features from.
target_attribute_table.png shows the table where features will be pasted to

Current_copy and paste result.png : shows the current behaviour of QGIS. Although I have never got this right. QGIS is picky about field type, field length and all the time, I end up with NULL for the pasted features

Proposed_copy and paste result using field mapper.png: Shows the proposed behaviour, where user has mapped Officer field from the source layer to Name field in the target layer. The Date field was omitted

#2 Updated by Regis Haubourg almost 7 years ago

Hi Saber,
there is a QEP talking of this: [[https://github.com/qgis/QGIS-Enhancement-Proposals/issues/89]]

Also available in: Atom PDF