Hi Martin,
I have the impression that it's not suitable for small screen ? Do you
confirm ?
Le mar. 23 févr. 2021 à 09:08, Tyler Eshelman a
écrit :
> Hello everyone,
>
> This is my first time replying to these emails since joining the QGIS
> development list.
> Besides the landing page, are
Hi Giulio,
add the flags methods to tell your algorithm is not thread-safe. From the
documentation :
https://docs.qgis.org/3.16/en/docs/user_manual/processing/scripts.html#flags
If your algorithm is regularly crashing, you are probably using API calls
which are not safe to do in a background
Hi Richard,
have you considered something like this (maybe not the optimal way)
req = QgsFeatureRequest()
req.setLimit(10)
sink, dest = QgsProcessingUtils.createFeatureSink(
uri,
QgsProcessingContext(),
source_layer.fields(),
source_layer.wkbType(),
source_layer.crs()
)
.
>
> As long as you only use it internally (e.g. on a WebServer), you don’t
> have to abide by the terms of the GPL (the Affero
> <https://en.wikipedia.org/wiki/Affero_General_Public_License>/Application-Service-Provider
> loophole).
>
>
>
>
>
>
>
> *Von:* Q
Hi
As a user and employee of a French administration, I think what is
proposed would be an excellent reminder. Open source is not free.
Le jeu. 7 janv. 2021 à 09:33, Matthias Kuhn a écrit :
> Hi Nyall,
>
> I would also appreciate a hint like this.
> Maybe it could be done even more subtle by
Hi devs,
for a long time I used that code to get the __file__ when running
my scripts from the QGis python console. Is there a better way ?
Thxs,
import osfrom console.console import _console
script_path = _console.console.tabEditorWidget.currentWidget().path