Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option to select fields to update #29

Open
Jeroen-GroeneBij opened this issue Apr 12, 2024 · 2 comments
Open

option to select fields to update #29

Jeroen-GroeneBij opened this issue Apr 12, 2024 · 2 comments

Comments

@Jeroen-GroeneBij
Copy link

Hi,
Nice plugin. Updating an existing layer with data from another layer seems to be a normal usecase, but I need to create all kinds of queries when I want to do this via field calculator.

Do I understand correctly that this plugin updates ALL fields that have the same fieldname in both target en source layer?
If so, It would be very nice to have a selectbox where I can select which fields in the target layer to update. If my source layer has 20 fields of which only 2 contain new data and the rest are empty (or contain old data), they will overwrite the target layer, thus perhaps emptying fields in the target layer which should have been kept.

The workaround is to prep my source layer to only contain the fields with updated data.

@gacarrillor
Copy link
Owner

Hi, thanks for the suggestion.

Do I understand correctly that this plugin updates ALL fields that have the same fieldname in both target en source layer?

Yes, you do.

The feature you're suggesting is useful. Let's wait for some free time for an implementation.
If you want to get it soon, consider funding it.

@gacarrillor
Copy link
Owner

Hi, Nice plugin. Updating an existing layer with data from another layer seems to be a normal usecase, but I need to create all kinds of queries when I want to do this via field calculator.

Do I understand correctly that this plugin updates ALL fields that have the same fieldname in both target en source layer? If so, It would be very nice to have a selectbox where I can select which fields in the target layer to update. If my source layer has 20 fields of which only 2 contain new data and the rest are empty (or contain old data), they will overwrite the target layer, thus perhaps emptying fields in the target layer which should have been kept.

The workaround is to prep my source layer to only contain the fields with updated data.

Note that you can use the ETL basic model (Update) for that. You'll get a mapping widget where you can just drop fields you're not interested in and leave those that should be copied.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants