Re: [QGIS-Developer] Vector destination vs feature sink

2022-10-23 Thread Anita Graser via QGIS-Developer
Thank you Matthias, those future optimization possibilities sound really exciting. Based on all your responses so far, I think I'd summarize that Processing script developers should always go for the feature sink parameter QgsProcessingParameterFeatureSink. Given the info Nyall shared with

Re: [QGIS-Developer] Remove alan.a.m...@gmail.com from list

2022-10-23 Thread Richard Duivenvoorde via QGIS-Developer
On 10/23/22 16:02, Alan Mick via QGIS-Developer wrote: I am sorry for spamming the list with this request, but I have tried multiple times to remove myself and have not been successful. Would someone please remove me from the list? Thank you! Done Richard Duivenvoorde

[QGIS-Developer] Remove alan.a.m...@gmail.com from list

2022-10-23 Thread Alan Mick via QGIS-Developer
I am sorry for spamming the list with this request, but I have tried multiple times to remove myself and have not been successful. Would someone please remove me from the list? Thank you! ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org

Re: [QGIS-Developer] Vector destination vs feature sink

2022-10-23 Thread Matthias Kuhn via QGIS-Developer
Hi Anita, A QgsFeatureSink is an interface for accepting features. This can be a QgsVectorLayer but does not have to be one. It can also be a spatial index, a vector file writer or others. I.e. your algorithm specifies that it produces "features" which can be sent to a vector layer, another

Re: [QGIS-Developer] Vector destination vs feature sink

2022-10-23 Thread Anita Graser via QGIS-Developer
Thank you very much, Thomas. This code comparison approach is very useful indeed. If FeatureSink covers all functions of VectorDestination and more, that still leaves me wonder what is the downside of a FeatureSink "Note: Consider using the more flexible QgsProcessingParameterFeatureSink

[QGIS-Developer] Translation errors in some English (and most of other languages) strings on Transifex

2022-10-23 Thread Andrea Giudiceandrea via QGIS-Developer
Hi all, it seems something weird happened in the latest generation of the translation string qgis_*.ts files or in the sync process with Transifex for QGIS 3.28.0 and master. Some "translation" string in English are different from the corresponding "source" string and contains some spurious

Re: [QGIS-Developer] pyqgis labelling settings

2022-10-23 Thread Francisco Puga via QGIS-Developer
This should work when working with SingleLabels layer = iface.activeLayer() settings = layer.labeling().settings() textFormat = settings.format() textFormat.setSize(20); settings.setFormat(textFormat) layer.labeling().setSettings(settings) hope it helps El vie, 21 oct 2022 a las 18:18, Hugh