[Qgis-developer] logic in processing models

2017-04-08 Thread Andreas Plesch
I am looking for a way to let a user choose in a model between different, alternative algorithms (or other models). An example would be a simple model which reprojects a vector layer either to WGS84 or NAD27 based on a boolean input field. I know I can use runscript in a custom processing scripts

Re: [Qgis-developer] Processing UI looks strange

2017-04-08 Thread matteo
Hi Frank, yes I also still have this issue. Thanks for the bug report, hoping this can be fixed. Thanks Matteo ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] (python) access to QgsHillshadeRenderer of raster layer ?

2017-04-08 Thread Andreas Plesch
Responding to myself. It turns out it is possible to use renderer.writeXML to access altitude and azimuth values: #r = rasterlayer.renderer() import PyQt4.QtXml as qx doc = qx.QDomDocument() lElement=doc.createElement('rasterlayer') #some required parent tag r.writeXML(doc, lElement)

Re: [Qgis-developer] (python) access to QgsHillshadeRenderer of raster layer ?

2017-04-08 Thread Tom Chadwin
They should be there: https://qgis.org/api/classQgsHillshadeRenderer.html Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- View this message in context: http://osgeo-org.1560.x6.nabble.com/python-access-to-QgsHillshadeRenderer-of-raster-layer-tp5316513p5316514.html

[Qgis-developer] (python) access to QgsHillshadeRenderer of raster layer ?

2017-04-08 Thread Andreas Plesch
I cannot figure how I can access the .altitude() and .azimuth() functions of the QgsHillshadeRenderer implementing the QgsRasterRenderer of a QgsRasterLayer. I can get the QgsRasterRenderer via the .renderer() function of the QgsRasterLayer and it return the correct 'hillshade' type via .type()

Re: [Qgis-developer] Publishing Custom Python Expression Functions for QGIS

2017-04-08 Thread Stefan Keller
2017-04-08 0:02 GMT+02:00 Tim Sutton : > > maybe max_incremented('fieldName') as a candidate for a less verbose name? +1 :Stefan 2017-04-08 0:02 GMT+02:00 Tim Sutton : > Hi > > On 05 Apr 2017, at 11:00 AM, Khare Simran wrote: > > Hi,

Re: [Qgis-developer] Processing UI looks strange

2017-04-08 Thread Frank Sokolic
Hi Matteo, I'm still getting this problem so have filed a bug report: http://hub.qgis.org/issues/16428 Frank. On 31/03/2017 18:58, matteo wrote: Also the modeler seems affected.. if someone whats to have a look ah the UIs, here the link:

[Qgis-developer] Set processing input for each layer field

2017-04-08 Thread Tom Chadwin
Sorry, another Processing inputs question: I need inputs to capture a value to be associated with each field of the vector layer which is selected as the other input. Is this possible, and if so, how? - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- View this message in

[Qgis-developer] Set processing input default value to layer custom property

2017-04-08 Thread Tom Chadwin
I have two inputs to a processing algorithm, one layer, one string. Is it possible to set the default value of the string input to the value of a given custom property of the layer selected for the other input? Thanks Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon --

[Qgis-developer] Plugin [1215] Vector Tiles Reader approval notification.

2017-04-08 Thread noreply
Plugin Vector Tiles Reader approval by pcav. The plugin version "[1215] Vector Tiles Reader 0.2.0 Experimental" is now approved Link: http://plugins.qgis.org/plugins/Vector-Tiles-Reader-QGIS-Plugin/ ___ Qgis-developer mailing list

[Qgis-developer] Plugin [1214] Open eQuarter approval notification.

2017-04-08 Thread noreply
Plugin Open eQuarter approval by pcav. The plugin version "[1214] Open eQuarter 0.9981" is now approved Link: http://plugins.qgis.org/plugins/mole/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info:

[Qgis-developer] Plugin [1214] Open eQuarter approval notification.

2017-04-08 Thread noreply
Plugin Open eQuarter approval by pcav. The plugin version "[1214] Open eQuarter 0.998" is now approved Link: http://plugins.qgis.org/plugins/mole/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: