Skip to content

GRASS alg fails if raster layer added with GDAL options (eg. NUM_THREADS) #62541

@nicogodet

Description

@nicogodet

What is the bug or the crash?

Layer URI contains |options:NUM_TREAHDS=4 at the end and GRASS fails to parse this URI.

Image
C:\Users\godet\AppData\Roaming\QGIS\QGIS3\profiles\ISL-PRE>r.in.gdal input="T\25F032_Xoldokogaina_EE_EDD_DO\7_SIG\Donnees_exterieures\LiDAR_HD.tif|option:NUM_THREADS=4" band=1 output="rast_686ce5aac34b79" --overwrite -o
ERREUR : Unable to open datasource <T\25F032_Xoldokogaina_EE_EDD_DO\7_SIG\Donnees_exterieures\LiDAR_HD.tif|option:NUM_THREADS=4>

Same layer without GDAL options go through the alg without issue.

Steps to reproduce the issue

  1. Add raster with GDAL NUM_THREADS option
  2. Execute any r. GRASS alg
  3. See Error

Versions

3.44.0

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

Native or GDAL alg runs fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugEither a bug report, or a bug fix. Let's hope for the latter!GRASSProcessingRelating to QGIS Processing framework or individual Processing algorithms

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions