-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
qgis_process errors with 'native:dissolve' if SEPARATE_DISJOINT=true and if OUTPUT is an explicit file #55587
Closed
1 of 2 tasks
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Processing
Relating to QGIS Processing framework or individual Processing algorithms
Comments
nirvn
added a commit
to nirvn/QGIS
that referenced
this issue
Jan 24, 2024
nyalldawson
pushed a commit
that referenced
this issue
Jan 24, 2024
qgis-bot
pushed a commit
that referenced
this issue
Jan 24, 2024
nyalldawson
pushed a commit
that referenced
this issue
Jan 25, 2024
Confirmed that it works! 🎉 Thanks!! $ ~/git_repositories2/QGIS/build-0aed505/output/bin/qgis_process run 'native:dissolve' --INPUT=input.gpkg --FIELD=box --SEPARATE_DISJOINT=true --OUTPUT=output.gpkg
----------------
Inputs
----------------
FIELD: box
INPUT: input.gpkg
OUTPUT: output.gpkg
SEPARATE_DISJOINT: true
0...10...20...30...40...50
----------------
Results
----------------
OUTPUT: output.gpkg
$
$ ~/git_repositories2/QGIS/build-0aed505/output/bin/qgis_process --version | head -1
QGIS 3.35.0-Master 'Master' (0aed5058) |
2 tasks
this is also true for the buffer algorithm when choosing separate_disjoint=true |
@dawgermany, please file a new issue report providing a sample layer and exact steps with which the issue occurs and all the info requested in the issue report form. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Processing
Relating to QGIS Processing framework or individual Processing algorithms
What is the bug or the crash?
When running
native:dissolve
,qgis_process
will error while writing to an explicit output file ifSEPARATE_DISJOINT=true
. An output file is written nevertheless.With
OUTPUT=TEMPORARY_OUTPUT
this does not happen, but then no output file is available (= #51503).The command succeeds if
SEPARATE_DISJOINT=false
, but setting as 'false' was not the purpose.This issue may overlap with the needs to solve #53392.
Steps to reproduce the issue
Use the
input.gpkg
file inside input.gpkg.zip and save it in the working directory to reproduce below code.Versions
Supported QGIS version
New profile
Additional context
The input layer and the challenge are based on https://stackoverflow.com/q/77614772/15137041.
The text was updated successfully, but these errors were encountered: