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

Save vector feature to file alg update #8708

Merged
merged 3 commits into from
Dec 13, 2023
Merged

Conversation

selmaVH1
Copy link
Collaborator

fixes #8486

@@ -2380,6 +2380,16 @@ Advanced parameters
- [string]
- GDAL layer creation options of the output format.
Separate individual options with semicolons.
* - **Action to take on pre-existing file**

Default
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Default

The default value goes to the Type column

Comment on lines 2387 to 2392
- [string]
- Managing existing features.
Create or overwrite file.
Create or overwrite layer.
Append features to existing layer, but do not create new fileds.
Append features to existing layer, and create new fields if needed.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- [string]
- Managing existing features.
Create or overwrite file.
Create or overwrite layer.
Append features to existing layer, but do not create new fileds.
Append features to existing layer, and create new fields if needed.
- [enumeration]
Default: 0
- How to manage existing features. Valid methods are:
0 --- Create or overwrite file
1 --- Create or overwrite layer
2 --- Append features to existing layer, but do not create new fields
3 --- Append features to existing layer, and create new fields if needed

While shown as string, this option/widget actually provides a set of predefined values exposed as numbers to the alg when run. We use enumeration type here.

@DelazJ DelazJ enabled auto-merge (squash) December 13, 2023 13:13
@DelazJ DelazJ added the backport release_3.34 On merge create a backported pull request to 3.34 label Dec 13, 2023
@DelazJ DelazJ merged commit 566cfb9 into qgis:master Dec 13, 2023
4 checks passed
@selmaVH1 selmaVH1 added this to Done in Selma Work Planning Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport release_3.34 On merge create a backported pull request to 3.34
Projects
Development

Successfully merging this pull request may close these issues.

[processing] Fix save vector features to file algorithm's handling of pre-existing files (Request in QGIS)
2 participants