Re: [QGIS-Developer] QGIS and privacy

2021-03-30 Thread Jonathan Moules
> I agree that exposing sensitive data would be problematic but sharing the username does not seem to be something too private. Your full name for example also appears in this mailing list or as part of your twitter account. So under which circumstances would it be problematic if your name

Re: [QGIS-Developer] Multiprocessing QGIS

2021-03-30 Thread Sebastian M. Ernst
Hi all, Am 29.03.21 um 01:17 schrieb Nyall Dawson: > [...] So it's quite straightforward to use > multiprocessing in PyQGIS via the Qt methods and do things like > calculating intersections for different objects across multiple > threads at once without having to worry about the GIL at all... I

Re: [QGIS-Developer] NULL in field

2021-03-30 Thread Andrea Giudiceandrea
Giulio Fattori wrote > @qgsfunction(args='auto', group='Custom') Hi Giulio, AFAIK you should add handlesnull=True to the function decorator in order to properly handle parameter's NULL values in the function @qgsfunction(args='auto', group='Custom', handlesnull=True) See:

Re: [QGIS-Developer] Ubuntu daily repo for PR into master?

2021-03-30 Thread Andreas Yankopolus
> Nightly build of the QGIS Development Version 3.19 master for Debian and > Ubuntu are in the following repositories: > > https://qgis.org/debian-nightly or https://qgis.org/ubuntu-nightly > > and https://qgis.org/ubuntugis-nightly with ubuntugis-unstable dependencies Adding the following to

Re: [QGIS-Developer] Unable to parse WKT Polygon using Shapely

2021-03-30 Thread Andrea Giudiceandrea
gordonbe wrote > from shapely import wkt > > wkt.loads('POLYGON((0 0, 0 0, 0 0, 0 0, 0 0))') > > QGIS throws this error during the crash: Hi gordonbe, what operative system and what QGIS version are you using? Using QGIS 3.16.5 or 3.18.1, installed via OSGeo4W on Windows 7, the command

[QGIS-Developer] Standalone Installers Without Sys Admin Privledges

2021-03-30 Thread C Hamilton
Is there any way that QGIS standalone installers can be created which do not require system admin privileges to install? The new OSGeo4W works like a charm for this, but it would be helpful to have standalone installers as well. I checked the new MSI installers, and they don't work without

Re: [QGIS-Developer] Unable to parse WKT Polygon using Shapely

2021-03-30 Thread gordonbe
Hi Andrea and Richard > what operative system and what QGIS version are you using? I'm using QGIS 3.10.12 on Ubuntu 20.04.1 LTS (according to my About QGIS page). > Is it possible you have some python/shapely versions mixed in your python > path? That might be possible. How would I check

Re: [QGIS-Developer] Unable to parse WKT Polygon using Shapely

2021-03-30 Thread Richard Duivenvoorde
On 3/30/21 1:17 PM, Andrea Giudiceandrea wrote: > gordonbe wrote >> from shapely import wkt >> wkt.loads('POLYGON((0 0, 0 0, 0 0, 0 0, 0 0))') > > Hi gordonbe, > what operative system and what QGIS version are you using? > > Using QGIS 3.16.5 or 3.18.1, installed via OSGeo4W on Windows 7, the

Re: [QGIS-Developer] FeatureRequest: make Page properties (portrait/landscape) easy(ier) accessible

2021-03-30 Thread Richard Duivenvoorde
Ok, because it was itching me... https://github.com/qgis/QGIS/pull/42572 Took me some time to follow all signals of mouse events... But I think this works: clicking on a page will show the current page properties, clicking on an item will shot it's properties, and clicking next to a page

[QGIS-Developer] Unable to parse WKT Polygon using Shapely

2021-03-30 Thread gordonbe
I'm trying to load a shapely Polygon from a WKT string. I'm able to import shapely without issue, but QGIS will immediately crash when trying to load the WKT. from shapely import wkt wkt.loads('POLYGON((0 0, 0 0, 0 0, 0 0, 0 0))') QGIS throws this error during the crash: ParseException:

[QGIS-Developer] NULL in field

2021-03-30 Thread Giulio Fattori
Hi all, i have this simple field calc function: from qgis.core import * from qgis.gui import * @qgsfunction(args='auto', group='Custom') def fill_down(value1, feature, parent):     k= 20     if value1 == NULL:     k = 10     return k it should return 10 if the field is empty but it

Re: [QGIS-Developer] Translation for french

2021-03-30 Thread DelazJ
Hi, Régis, this was fixed right after Florian's message. Regards, Harrissou Le lun. 29 mars 2021 à 20:50, Régis Haubourg a écrit : > Hi Florian, > > Can you try reaching the QGIS-community list > https://lists.osgeo.org/mailman/listinfo/qgis-community-team ? > > I bet the transifex FR team

Re: [QGIS-Developer] QGIS and privacy

2021-03-30 Thread matteo
Hi Nyall, that sounds like the best user friendly solution, even if not the quickest to develop. Should I open a ticket as a feature request to keep track of this discussion? Cheers and thanks to all! Matteo ___ QGIS-Developer mailing list