Re: [QGIS-Developer] ProcessingAlgorithm: get filename of the INPUT param

2019-06-19 Thread Nyall Dawson
On Wed, 19 Jun 2019 at 22:20, Richard Duivenvoorde wrote: > > Hi, > > got a question from somebody who needed to find the filename of an input > param in a ProcessingAlgorithm > (because he is going to read that file again or something like that). Short answer -- it's not possible, and if you DO

Re: [QGIS-Developer] Preferred way to set startup options on Windows and is qgis_global_settings.ini used or not

2019-06-19 Thread Larry Shaffer
Hi All, Of note from the Boundless docs repo is this little script I wrote to dump existing settings to an .ini file: https://github.com/boundlessgeo/desktop-documentation/blob/master/docs/source/system_admins/qgis-settings-to-ini.py Just load it into the Python Console's editor and run. It may

Re: [QGIS-Developer] translate plugin gui and log messages

2019-06-19 Thread Jonas
You can just use the pylupdate5 script, its in %OSGeo4Win%\apps\Python37\Scripts It loads your .pro file and creates the .ts files which you can open in QtLinguist. After translating you release within QtLinguist to a .qm file. See:

Re: [QGIS-Developer] translate plugin gui and log messages

2019-06-19 Thread C Hamilton
I am also interested in how you do this on Windows because I had a request to add translation ability to the Shape Tools plugin, but these instructions don't seem to include anything for Windows. Thanks, Calvin On Wed, Jun 19, 2019 at 2:24 AM matteo wrote: > Hi Roberta, > > well the process

Re: [QGIS-Developer] translate plugin gui and log messages

2019-06-19 Thread Roberta Fagandini
Hi Matteo, thank you for the help, your solution works fine in linux. Do you know if something similar exists for Windows? Thanks Roberta Il giorno mer 19 giu 2019 alle ore 08:24 matteo ha scritto: > Hi Roberta, > > well the process is pretty easy and straightforward. > > I use the Makefile to

Re: [QGIS-Developer] ProcessingAlgorithm: get filename of the INPUT param

2019-06-19 Thread info
Hi, l.source() perhaps? Cheers, Benoit On 2019-06-19 14:20, Richard Duivenvoorde wrote: Hi, got a question from somebody who needed to find the filename of an input param in a ProcessingAlgorithm (because he is going to read that file again or something like that). He adds the INPUT via

Re: [QGIS-Developer] ProcessingAlgorithm: get filename of the INPUT param

2019-06-19 Thread Richard Duivenvoorde
Nope, SOURCE = which (I think) does not bring you any further: https://qgis.org/api/classQgsProcessingFeatureSource.html unless you 'materialize' it to a layer: https://qgis.org/api/classQgsFeatureSource.html which is what I actually do below Regards, Richard On 19/06/2019 15.26, info

Re: [QGIS-Developer] Setting snapping settings via Python

2019-06-19 Thread Denis Rouzaud
QgsProject.instance().snappingConfigChanged See https://qgis.org/pyqgis/master/core/QgsProject.html#qgis.core.QgsProject.snappingConfigChanged Le mer. 19 juin 2019 à 14:24, David Erill a écrit : > I'm migrating a plugin to QGIS 3.x > I have this line of code that works in previous versions: >

Re: [QGIS-Developer] Setting snapping settings via Python

2019-06-19 Thread David Erill
I'm migrating a plugin to QGIS 3.x I have this line of code that works in previous versions: QgsProject.instance().snapSettingsChanged.emit() But I cannot find this signal anymore in the new API. I've been looking for another signal that does the same but didn't find. Anyone can tell me how can I

[QGIS-Developer] ProcessingAlgorithm: get filename of the INPUT param

2019-06-19 Thread Richard Duivenvoorde
Hi, got a question from somebody who needed to find the filename of an input param in a ProcessingAlgorithm (because he is going to read that file again or something like that). He adds the INPUT via the initAlgorithm function: self.addParameter(

Re: [QGIS-Developer] Preferred way to set startup options on Windows and is qgis_global_settings.ini used or not

2019-06-19 Thread DelazJ
Hi all, Does this not help https://docs.qgis.org/testing/en/docs/user_manual/introduction/qgis_configuration.html#deploying-qgis-within-an-organization ? Regards, Harrissou Le mer. 19 juin 2019 à 14:11, Richard Duivenvoorde a écrit : > On 19/06/2019 11.00, Alexandre Neto wrote: > > Hi Richard,

Re: [QGIS-Developer] Preferred way to set startup options on Windows and is qgis_global_settings.ini used or not

2019-06-19 Thread Richard Duivenvoorde
On 19/06/2019 11.00, Alexandre Neto wrote: > Hi Richard, > > In preparation for a release of Boundless Desktop 2, which would be > based on QGIS 3 (I don't know nothing about it now) we prepared some > documentation for system administrators. See if any of this helps: > >

Re: [QGIS-Developer] SSL Performance Overhead

2019-06-19 Thread Jonathan Moules
This has been covered a few times on StackOverflow. https://stackoverflow.com/questions/548029/how-much-overhead-does-ssl-impose https://stackoverflow.com/questions/149274/http-vs-https-performance Basically, the expensive part is creating the connection (handshaking). After that, when using

Re: [QGIS-Developer] Preferred way to set startup options on Windows and is qgis_global_settings.ini used or not

2019-06-19 Thread Alexandre Neto
Hi Richard, In preparation for a release of Boundless Desktop 2, which would be based on QGIS 3 (I don't know nothing about it now) we prepared some documentation for system administrators. See if any of this helps:

[QGIS-Developer] Preferred way to set startup options on Windows and is qgis_global_settings.ini used or not

2019-06-19 Thread Richard Duivenvoorde
Investigating a way to install QGIS in a large organisation, I'm looking into the options to centrally setup some options. As QGIS has a lot of configuration options, see: https://docs.qgis.org/testing/en/docs/user_manual/introduction/qgis_configuration.html it is pretty easy on a linux

Re: [QGIS-Developer] Suggestion to integrate MCG image segmentation in QGIS

2019-06-19 Thread Luigi Pirelli
Hi Sophie Interesting and useful work, congratulation! About computer vision integration libraries, IMHO a good solution is that used by https://plugins.qgis.org/plugins/enmapboxplugin/ pluign that integrate scikit in a flexible way. IMHO can be the architecture to integrate opencv algs and more.

[QGIS-Developer] Plugin [1734] AttributesJoinByLine approval notification.

2019-06-19 Thread noreply
Plugin AttributesJoinByLine approval by zimbogisgeek. The plugin version "[1734] AttributesJoinByLine 0.2" is now approved Link: http://plugins.qgis.org/plugins/AttributesJoinByLine/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List

[QGIS-Developer] Plugin [947] ImportEpanetInpFiles approval notification.

2019-06-19 Thread noreply
Plugin ImportEpanetInpFiles approval by zimbogisgeek. The plugin version "[947] ImportEpanetInpFiles 1.5" is now approved Link: http://plugins.qgis.org/plugins/ImportEpanetInpFiles/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List

[QGIS-Developer] Plugin [1719] Bezier Editing approval notification.

2019-06-19 Thread noreply
Plugin Bezier Editing approval by zimbogisgeek. The plugin version "[1719] Bezier Editing 1.1.0" is now approved Link: http://plugins.qgis.org/plugins/BezierEditing/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:

Re: [QGIS-Developer] translate plugin gui and log messages

2019-06-19 Thread matteo
Hi Roberta, well the process is pretty easy and straightforward. I use the Makefile to manage all the process [0]. Basically the steps are: * adding a list to locales in the Makefile, like: LOCALES = en it nl * always in the Makefile add all the paths to the files that contains the string you