QgsProcessingAlgorithm layer names
Problem: Layer names of layers created with QgsProcessingAlgorithms
In the EnMAP-Box it correctly says OUTPUT.tif, but in the QgsMapLayerComboBox it uses the nasty Title from the dialog Converted
In QGIS we would need to set the checkmark in the Processing setting, but when starting the Box in stand-alone mode from PyCharm, I cannot do it that way.
Comments (7)
-
reporter -
@Benjamin Jakimow isn’t that the checkbox in the precessing toolbox setting?
”Use filename as layer name” -
reporter Have you tested it?
-
yes
-
-
assigned issue to
-
assigned issue to
-
reporter - changed status to closed
closes issue
#262: EnMAP-Box sources + QgsMapLayers are mirrored as hidden layers into the QGIS Layer Tree and named like "[EnMAP-Box] basename.img" (spatial sources) or "[Map Canvas Name] Layer Name" (QgsMapLayers)Signed-off-by: benjamin.jakimow benjamin.jakimow@geo.hu-berlin.de
→ <<cset 141df77cb2af>>
-
reporter closes issue
#262: EnMAP-Box sources + QgsMapLayers are mirrored as hidden layers into the QGIS Layer Tree and named like "[EnMAP-Box] basename.img" (spatial sources) or "[Map Canvas Name] Layer Name" (QgsMapLayers)Signed-off-by: benjamin.jakimow benjamin.jakimow@geo.hu-berlin.de
→ <<cset 141df77cb2af>>
- Log in to comment
I guess this requires to somehow modify the QGIS settings and how new created raster sources are opened as QgsRasterLayer