I just received a request to update the Density Analysis plugin density hash algorithms so they work with multiple layers and produce one density map based off of multiple input layers. In the algorithm I have replaced QgsProcessingParameterFeatureSource with QgsProcessingParameterMultipleLayers.
Is there a way to automatically populate as default value of selected layers in QgsProcessingParameterMultipleLayers with the selected layers or selected groups of layers in the "Layer Panel"? This would be incredibly useful. I am doing this as a QgsProcessingAlgorithm. The layerType to QgsProcessingParameterMultipleLayers is QgsProcessing.TypeVectorPoint. Thanks for your help. Calvin
_______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer