-
-
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 with algorithms using a CRS: error and a faulty message #57494
Comments
At least the "ERROR: Status 2: File ... could not be found " issue didn't occur using QGIS 3.28. It seems to me the error message is caused by QGIS/src/process/qgsprocess.cpp Line 910 in 040e231
In fact, when the following code is executed in the Python console of QGIS 3.34 or QGIS 3.36: context = QgsProcessingContext()
alg = QgsApplication.processingRegistry().algorithmById( "native:reprojectlayer" )
defs = alg.parameterDefinitions()
p = defs[1]
p.valueAsString( p.defaultValue(), context) the output is |
Hmm, this sounds a little like the issue addressed by #56292 Maybe a similar cause for this one.. |
...before falling back to alternatives like treating it as a map layer Fixes qgis#57494
...before falling back to alternatives like treating it as a map layer Fixes #57494
...before falling back to alternatives like treating it as a map layer Fixes #57494
...before falling back to alternatives like treating it as a map layer Fixes #57494
And fix tests which use an invalid EPSG code Refs qgis#57494
And fix tests which use an invalid EPSG code Refs #57494
And fix tests which use an invalid EPSG code Refs #57494
And fix tests which use an invalid EPSG code Refs #57494
What is the bug or the crash?
An error is reported while requesting help or while running an algorithm with a
crs
type argument.qgis_process help
, the ERRORs only occur when the argument has a default value.qgis_process run
:Using non-preferred coordinate operation between and EPSG:4326
(see example below). Note the irrelevantEPSG:4326
(it's probably taking that from the default value), since in the example the source and target CRS just use theOSGB_1936
datum.Steps to reproduce the issue
Versions
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: