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

[processing] Gracefully handle FID constraints when writing layers to temporary provider-compatible formats #58028

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

nyalldawson
Copy link
Collaborator

When writing a layer to a temporary GPKG file for compatibilty with provider's supported formats, rename the existing FID column if we can't write the FID values into the GPKG

Eg when the source layer has string/duplicate fids, we warn the user and then automatically move the existing fids to a "OLD_FID" field

compatibilty with provider's supported formats, rename the
existing FID column if we can't write the FID values into
the GPKG

Eg when the source layer has string/duplicate fids, we warn
the user and then automatically move the existing fids to
a "OLD_FID" field
@github-actions github-actions bot added this to the 3.40.0 milestone Jul 9, 2024
Copy link

github-actions bot commented Jul 9, 2024

🪟 Windows builds ready!

Windows builds of this PR are available for testing here. Debug symbols for this build are available here.

(Built from commit baceab0)

@nyalldawson nyalldawson merged commit d154799 into qgis:master Jul 9, 2024
32 checks passed
@nyalldawson nyalldawson deleted the fid_fix branch July 9, 2024 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants