[Qgis-developer] Field mapper when pasting features

Saber Razmjooei saber.razmjooei at lutraconsulting.co.uk
Thu Dec 8 01:36:42 PST 2016


Hi Arnaud,

 

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.

Cheers

Saber

 

From: Qgis-developer [mailto:qgis-developer-bounces at lists.osgeo.org] On Behalf Of Denis Rouzaud
Sent: 01 November 2016 08:02
To: Arnaud Morvan; qgis-developer
Subject: Re: [Qgis-developer] Field mapper when pasting features

 

Hi Arnaud,

I am really looking forward to seeing such feature implemented in QGIS, thanks for bringing up the discussion.

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...

>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.

Best wishes,

Denis

On 10/27/2016 05:52 PM, Arnaud Morvan wrote:

Hello QGIS devs, 

I want to add a field mapper dialog when pasting features to layers. 

For now when pasting features with attributes names that do not exists on the destination layer, 
those attributes values are lost. 

When clipboard fields and destination layer fields are not strictly the sames, 
In QGIS 3.0, I want to popup a new dialog with fields mapper configurator. 

Dialog UI could be similar to Refactor Fields Algorithm, showing a list of destination fields : 

    source expression (expression widgets) => destination field 

For example, I often use this workflow : 
    Open a shapefile or autocad file. 
    Use the refactor fields to get temporary layer with same fields as destination. 
    Paste to postgis database layer. 

I think having this dialog showing up when needed could really ease data manipulation from one layer to another. 
And I want to give the possibility to use expressions. 

Any remarks, do you think I need to open to open a QEP for that ? 

Regards 

 



--
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.

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.

If this email contains a quote or offer to sell pro
 ducts, carry out work or perform services then our standard terms and conditions (which can be found at http://www.lutraconsulting.co.uk/downloads/Lutra%20Consulting%20Standard%20Terms%20and%20Conditions.pdf shall apply unless explicitly stated otherwise.

Saber Razmjooei and Peter Wells trading as Lutra Consulting.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20161208/b82d9c98/attachment.html>


More information about the Qgis-developer mailing list