QuickOSM
QuickOSM copied to clipboard
Update processing algorithm to QGIS 3.16 to remove deprecated algorithms
Trying to import the osm_download_style.model3 in QGIS 3.10.2 I receive the following error:
AttributeError: 'NoneType' object has no attribute 'svgIconPath'
Double clicking the module from inside the Processing Toolbox, I received this additional information error "Error executing algorithm":
This algorithm cannot be run :-( The model you are trying to run contains an algorithm that is not available: native:setlayerstyle
Trying to solve this issue, I opened the model in a text editor and substituted the string native:setlayerstyle
with qgis:setstyleforvectorlayer
.
This solved the problem for me.
I'm not sure if this a specific problem with my environment, but maybe it can be useful... Thank you for your great plugin!
Ale
Environment
- QuickOSM version: 1.14.2
- QGIS version: 3.10.2
- OS: Ubuntu 18.04.4
QGIS version: 3.10.2
Ah yes indeed, the algorithm has been designed in QGIS Master (3.11)
You can propose a patch, I would indeed prefer if the model is compatible 3.10.
You can propose a patch, I would indeed prefer if the model is compatible 3.10.
I'd love to be able to do that but, currently, I have no idea on how to proceed :-)
Fixed. Tagged as feature to keep the ticket and fix later when 3.16 will be the default.