<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi Arnaud,</p>
<p>This sounds like a very useful feature to have. A big +1!</p>
<p>Not sure if it requires a QEP - but it never hurts to do one. Perhaps other people have more idea, once they see a description or mockup.</p>
<p>Thanks in advance!</p>
<p>Andreas</p>
<p>On 2016-10-27 17:52, Arnaud Morvan wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><span style="white-space: nowrap;">Hello QGIS devs,</span><br /><br /><span style="white-space: nowrap;">I want to add a field mapper dialog when pasting features to layers.</span><br /><br /> For now when pasting features with attributes names that do not exists on the destination layer,<br /><span style="white-space: nowrap;">those attributes values are lost.</span><br /><br /> When clipboard fields and destination layer fields are not strictly the sames,<br /><span style="white-space: nowrap;">In QGIS 3.0, I want to popup a new dialog with fields mapper configurator.</span><br /><br /> Dialog UI could be similar to Refactor Fields Algorithm, showing a list of destination fields :<br /><br /><span style="white-space: nowrap;">    source expression (expression widgets) => destination field</span><br /><br /><span style="white-space: nowrap;">For example, I often use this workflow :</span><br /><span style="white-space: nowrap;">    Open a shapefile or autocad file.</span><br />     Use the refactor fields to get temporary layer with same fields as destination.<br /><span style="white-space: nowrap;">    Paste to postgis database layer.</span><br /><br /> I think having this dialog showing up when needed could really ease data manipulation from one layer to another.<br /><span style="white-space: nowrap;">And I want to give the possibility to use expressions.</span><br /><br /><span style="white-space: nowrap;">Any remarks, do you think I need to open to open a QEP for that ?</span><br /><br /> Regards</div>
</blockquote>
<p> </p>
<div> </div>
</body></html>