[Qgis-developer] Updating Project Properties

2015-01-07 Thread Mohanakarthick
Hi All, I have tried to update the Selection color in the project Properties. prj = QgsProject.instance() prj.writeEntry( Gui, /SelectionColorRedPart, 255 ) prj.writeEntry( Gui, /SelectionColorGreenPart, 255 ) prj.writeEntry( Gui, /SelectionColorAlphaPart, 255 ) prj.writeEntry( Gui,

Re: [Qgis-developer] Multiple styles per layer

2015-01-07 Thread Martin Dobias
Hi Andreas On Thu, Jan 8, 2015 at 12:02 AM, Andreas Neumann a.neum...@carto.net wrote: Hi Martin, Does it support a change of renderer? E.g. start with a simple fill renderer in one styles and then change to a categorized or rule-based renderer in another style? It works fine for me if

Re: [Qgis-developer] Where are the .QGS project file specifications?

2015-01-07 Thread Howard L Frederick
Could anyone share even an old document explaining the .QGS file structure? An old GIS.SE thread http://gis.stackexchange.com/questions/32340/is-there-a-detailed-description-on-the-qgs-file-structure-somewhere gave a link to qgis.dtd https://github.com/qgis/QGIS/blob/master/qgis.dtd on

Re: [Qgis-developer] Multiple styles per layer

2015-01-07 Thread Martin Dobias
On Wed, Jan 7, 2015 at 11:54 PM, Martin Dobias wonder...@gmail.com wrote: And could this style choice be saved in the presets? Yes I will connect the presets and styles. Now available in master. Any feedback from testing is highly appreciated! Cheers Martin

Re: [Qgis-developer] python code in form

2015-01-07 Thread Luca Lanteri
Hi Matthias, this is exactly what I need! many thanks Luca 2015-01-06 11:59 GMT+01:00 Matthias Kuhn matth...@opengis.ch: Hi Luca, There was a *DEBUGMODE* attribute introduced some time ago, that can be set on the python form module. If it is set to True, the changes should be reloaded

Re: [Qgis-developer] Multiple styles per layer

2015-01-07 Thread Martin Dobias
Hi Alexandre On Wed, Jan 7, 2015 at 11:42 PM, Alexandre Neto senhor.n...@gmail.com wrote: I was wondering the same as Andreas. And now I get it. No more duplicate layers for different print composers! Nice :) Will this include choosing the layer style by data-defined-properties? Eventually

Re: [Qgis-developer] Multiple styles per layer

2015-01-07 Thread Andreas Neumann
Hi Martin, Does it support a change of renderer? E.g. start with a simple fill renderer in one styles and then change to a categorized or rule-based renderer in another style? It works fine for me if I stay within one renderer, but kind of acts weird if I start changing renderers in the

Re: [Qgis-developer] Layer properties dialogue: OK/Cancel not active anymore?

2015-01-07 Thread Richard Duivenvoorde
Yep, already created an issue for it: http://hub.qgis.org/issues/11960 Regards, Richard Duivenvoorde On 07-01-15 17:14, Denis Rouzaud wrote: I do, at least on Ubuntu Le 7 janv. 2015 17:14, Andreas Neumann a.neum...@carto.net mailto:a.neum...@carto.net a écrit : Hi, With a

[Qgis-developer] Layer properties dialogue: OK/Cancel not active anymore?

2015-01-07 Thread Andreas Neumann
Hi, With a recent master build it seems like the OK/Cancel buttons of the layer properties dialogue do not properly react anymore - they don't close the dialogue. Can others confirm? Thanks, Andreas ___ Qgis-developer mailing list

Re: [Qgis-developer] Multiple styles per layer

2015-01-07 Thread G. Allegri
BTW: cool feature - would be cool to also expose the multiple styles in QGIS server (e.g. to support color and black/white styles) for the same layer. This commit is part of a sponsored project which includes the server side too (WMS STYLES parameter). It will be there ;) giovanni

Re: [Qgis-developer] Multiple styles per layer

2015-01-07 Thread Martin Dobias
Hi Andreas On Wed, Jan 7, 2015 at 11:15 PM, Andreas Neumann a.neum...@carto.net wrote: Hi Martin, I just saw your recent commit for support of multiple styles - but I don't fully get it how it works. I can add a new style and can switch to another style, but it seems whenever I change the

Re: [Qgis-developer] Multiple styles per layer

2015-01-07 Thread Alexandre Neto
I was wondering the same as Andreas. And now I get it. No more duplicate layers for different print composers! Nice :) Will this include choosing the layer style by data-defined-properties? And could this style choice be saved in the presets? It would do wonders in projects with several composers

Re: [Qgis-developer] Layer properties dialogue: OK/Cancel not active anymore?

2015-01-07 Thread Denis Rouzaud
I do, at least on Ubuntu Le 7 janv. 2015 17:14, Andreas Neumann a.neum...@carto.net a écrit : Hi, With a recent master build it seems like the OK/Cancel buttons of the layer properties dialogue do not properly react anymore - they don't close the dialogue. Can others confirm? Thanks,

Re: [Qgis-developer] Layer properties dialogue: OK/Cancel not active anymore?

2015-01-07 Thread Andreas Neumann
The same problem is on the Settings -- Options dialogue. The OK/Cancel buttons are dead. Andreas On 07.01.2015 17:13, Andreas Neumann wrote: Hi, With a recent master build it seems like the OK/Cancel buttons of the layer properties dialogue do not properly react anymore - they don't close

[Qgis-developer] Multiple styles per layer

2015-01-07 Thread Andreas Neumann
Hi Martin, I just saw your recent commit for support of multiple styles - but I don't fully get it how it works. I can add a new style and can switch to another style, but it seems whenever I change the symbology, it resets all styles at once? Or maybe I don't fully get it how it is

[Qgis-developer] PyWPS-QGIS-Processing

2015-01-07 Thread René-Luc Dhont
Hi Dev, I just publish a github repository about my work on using QGIS-Processing through PyWPS https://github.com/rldhont/PyWPS-QGIS-Processing This work is based on what I do next year and what Alessandro Pasotti has done https://github.com/elpaso/qgis-wps/blob/master/WPS.py It's just a