<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><font size="-1"><font face="Verdana">Hi Arnaud,</font></font></p>
<p><font size="-1"><font face="Verdana">I am really looking forward
to seeing such feature implemented in QGIS, thanks for
bringing up the discussion.</font></font></p>
<p><font size="-1"><font face="Verdana">I would also recommend going
for a QEP, as it is a largely foreseen feature, and I suppose
everyone has its own definition and use-case...</font></font></p>
<p><font size="-1"><font face="Verdana">From my point of view, we
should go for a very generic field-mapping mechanism which
could be used in many places such as copy-paste. A way of
reading/saving configuration would be quite useful, like
presets.</font></font></p>
<p><font size="-1"><font face="Verdana">Best wishes,</font></font></p>
<p><font size="-1"><font face="Verdana">Denis<br>
</font></font></p>
<font size="-1"><font face="Verdana"></font></font>
<div class="moz-cite-prefix">On 10/27/2016 05:52 PM, Arnaud Morvan
wrote:<br>
</div>
<blockquote cite="mid:581222C5.90901@camptocamp.com" type="cite">Hello
QGIS devs,
<br>
<br>
I want to add a field mapper dialog when pasting features to
layers.
<br>
<br>
For now when pasting features with attributes names that do not
exists on the destination layer,
<br>
those attributes values are lost.
<br>
<br>
When clipboard fields and destination layer fields are not
strictly the sames,
<br>
In QGIS 3.0, I want to popup a new dialog with fields mapper
configurator.
<br>
<br>
Dialog UI could be similar to Refactor Fields Algorithm, showing a
list of destination fields :
<br>
<br>
source expression (expression widgets) => destination field
<br>
<br>
For example, I often use this workflow :
<br>
Open a shapefile or autocad file.
<br>
Use the refactor fields to get temporary layer with same
fields as destination.
<br>
Paste to postgis database layer.
<br>
<br>
I think having this dialog showing up when needed could really
ease data manipulation from one layer to another.
<br>
And I want to give the possibility to use expressions.
<br>
<br>
Any remarks, do you think I need to open to open a QEP for that ?
<br>
<br>
Regards
<br>
<br>
</blockquote>
<br>
</body>
</html>