Re: [QGIS-Developer] [Qgis-user] A nice task for a community member: revamping the QGIS github landing page

2021-02-23 Thread JD L
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

Re: [QGIS-Developer] QGIS composer print layout

2021-01-23 Thread JD L
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

Re: [QGIS-Developer] (Postgis)VectorLayer based on QgsFeatureRequest?

2021-01-11 Thread JD L
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() )

Re: [QGIS-Developer] Stale bot and older requests/issues - possible enhancement

2021-01-07 Thread JD L
. > > 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

Re: [QGIS-Developer] Stale bot and older requests/issues - possible enhancement

2021-01-07 Thread JD L
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

[QGIS-Developer] Current script path from python console

2021-01-05 Thread JD L
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