<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Arnaud,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>As suggested by others, a QEP for mapping fields would be great. Some of the Processing tools (e.g. merging layers) can also benefit from that.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Cheers<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Saber<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Qgis-developer [mailto:qgis-developer-bounces@lists.osgeo.org] <b>On Behalf Of </b>Denis Rouzaud<br><b>Sent:</b> 01 November 2016 08:02<br><b>To:</b> Arnaud Morvan; qgis-developer<br><b>Subject:</b> Re: [Qgis-developer] Field mapper when pasting features<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Hi Arnaud,</span><o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>I am really looking forward to seeing such feature implemented in QGIS, thanks for bringing up the discussion.</span><o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>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...</span><o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>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.</span><o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Best wishes,</span><o:p></o:p></p><p><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Denis</span><o:p></o:p></p><div><p class=MsoNormal>On 10/27/2016 05:52 PM, Arnaud Morvan wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal style='margin-bottom:12.0pt'>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 <o:p></o:p></p></blockquote><p class=MsoNormal><o:p> </o:p></p></div>
<br><br/>
<hr/>
<p style="font-family:arial,sans-serif; font-size:10px; color:#999;">This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.</p>
<p style="font-family:arial,sans-serif; font-size:10px; color:#999;">Whilst reasonable care has been taken to avoid virus transmission, no responsibility for viruses is
taken and it is your responsibility to carry out such checks as you feel appropriate.</p>
<p style="font-family:arial,sans-serif; font-size:10px; color:#999;">If this email contains a quote or offer to sell products, carry out work or perform services then our <a href="http://www.lutraconsulting.co.uk/downloads/Lutra%20Consulting%20Standard%20Terms%20and%20Conditions.pdf">standard terms and conditions</a> shall apply unless explicitly stated otherwise.</p>
<p style="font-family:arial,sans-serif; font-size:10px; color:#999;">Saber Razmjooei and Peter Wells trading as Lutra Consulting.</p>
<br/>
<br></body></html>