Re: [QGIS-Developer] Geometry operations in Python

2018-01-26 Thread Nyall Dawson
On 25 January 2018 at 17:30, Daan Goedkoop wrote: > Thank you for the answers! > > Ok, so I don't need to manipulate the QgsMultiLineString directly. Yet > I cannot help to wonder a little bit about this (using a .shp file): > qgis.utils.iface.activeLayer().selectedFeatures()[0].geometry().as

Re: [QGIS-Developer] Example script for Processing in QGIS 3

2018-01-26 Thread Nyall Dawson
On 27 January 2018 at 05:33, Anita Graser wrote: > > > On Tue, Jan 23, 2018 at 12:14 PM, G. Allegri wrote: >> >> Hi Nyall, >> scripts seem way more complex then before. I guess it is the simplest way >> that could be found to accomodate Processing scripts to the refactored code. >> Some questions

Re: [QGIS-Developer] Changes to processing gdal:translate?

2018-01-26 Thread Nyall Dawson
On 27 January 2018 at 02:58, Tom Chadwin wrote: > No, my mistake. I think there might be an issue with the processing wrapper > for gdal:warp. It takes the argument TARGET_EXTENT, and uses that for the > GDAL arg "-te". However, it then tries to add in extent details, and I think > there might be

Re: [QGIS-Developer] Defining GeoAlgorithm processing characteristics not working like I think it should

2018-01-26 Thread Nyall Dawson
On 27 January 2018 at 07:26, C Hamilton wrote: > I am working on making some of my QGIS plugin capabilities into processing > algorithms. When defining input parameter characteristics for the > GeoAlgorithm I want to do something like this: > > self.addParameter(ParameterVector(self.LAYER, 'Line o

[QGIS-Developer] Defining GeoAlgorithm processing characteristics not working like I think it should

2018-01-26 Thread C Hamilton
I am working on making some of my QGIS plugin capabilities into processing algorithms. When defining input parameter characteristics for the GeoAlgorithm I want to do something like this: self.addParameter(ParameterVector(self.LAYER, 'Line or polygon layer', ParameterVector.VECTOR_TYPE_LINE | Para

Re: [QGIS-Developer] Example script for Processing in QGIS 3

2018-01-26 Thread Anita Graser
On Tue, Jan 23, 2018 at 12:14 PM, G. Allegri wrote: > Hi Nyall, > scripts seem way more complex then before. I guess it is the simplest way > that could be found to accomodate Processing scripts to the refactored code. > Some questions from the previous scripts examples: > > 1) Is automatic outpu

Re: [QGIS-Developer] Changes to processing gdal:translate?

2018-01-26 Thread Tom Chadwin
No, my mistake. I think there might be an issue with the processing wrapper for gdal:warp. It takes the argument TARGET_EXTENT, and uses that for the GDAL arg "-te". However, it then tries to add in extent details, and I think there might be an incorrect variable name. In warp.py from line 190: ar

[QGIS-Developer] Changes to processing gdal:translate?

2018-01-26 Thread Tom Chadwin
Hello all I'm trying to migrate the raster processing parts of qgis2web, and I'm finding it hard working out all the processing changes. I think I've made progress, but I'm now getting the following when I do "processing.run("gdal:translate", {params})": Incorrect parameter value for INPUT In QG

Re: [QGIS-Developer] Bug triage

2018-01-26 Thread Giovanni Manghi
>> Note: in Essen last year I prepared (and sent it to you) a list of >> unique email addresses of users that had filed tickets that had no >> activity for more than 3 years (I think it was 3 years). The plan we >> agreed while there was that someone with a qgis.org mail address would >> have maili

[QGIS-Developer] Working on fx #8760 "Custom Form from .ui File crashes QGIS on Ubuntu"

2018-01-26 Thread Luigi Pirelli
Hi I've a request to fix this issue: https://issues.qgis.org/issues/8760 Is not assigned to anyone, I'm just started to evaluate it before to assign to myself. Is there someone already working on it? tnx Luigi Pirelli *

[QGIS-Developer] Plugin [376] VoGIS-ProfilTool approval notification.

2018-01-26 Thread noreply
Plugin VoGIS-ProfilTool approval by zimbogisgeek. The plugin version "[376] VoGIS-ProfilTool 2.99.1 Experimental" is now approved Link: http://plugins.qgis.org/plugins/VoGisProfilTool/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List i

[QGIS-Developer] Plugin [481] go2streetview approval notification.

2018-01-26 Thread noreply
Plugin go2streetview approval by zimbogisgeek. The plugin version "[481] go2streetview 7.4" is now approved Link: http://plugins.qgis.org/plugins/go2streetview/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo

Re: [QGIS-Developer] Bug triage

2018-01-26 Thread Paolo Cavallini
Il 25/01/2018 23:17, Régis Haubourg ha scritto: > Hi Paolo,  > Count on me for helping!  Thanks - how do you suggest to proceed? whould you like to take one specific category? all the best. -- Paolo Cavallini - www.faunalia.eu QGIS & PostGIS courses: http://www.faunalia.eu/training.html https://w

Re: [QGIS-Developer] Bug triage

2018-01-26 Thread Paolo Cavallini
Hi, Il 26/01/2018 12:12, Giovanni Manghi ha scritto: > I'm of course available, but in general I tend to focus on recent > tickets, and since we had a clear roadmap for QGiS 3 I had focused > more on them in addition to the ones tagged as affecting our actual > LTR release. perfect, so I can sta

Re: [QGIS-Developer] Bug triage

2018-01-26 Thread Giovanni Manghi
Hi, > Hi all, > after a long time, this evening I went through the queue of old tickets, thanks, I have noticed that you started review your old tickets. > and quickly found a number that are still open, whereas the issue has > been fixed, sometimes since long. I think devoting more resources t

Re: [QGIS-Developer] Mitigating security risks of the Official Plugin Repository

2018-01-26 Thread Borys Jurgiel
Dnia czwartek, 25 stycznia 2018 23:37:12 CET Daniel Silk pisze: > in my startup script then the official repository is successfully > replaced by our internal repository. Great! IIRC this stubborn overwriting your URL by the plugin installer was added in QGIS 1.8, when we changed the official URL