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

2017-04-14 Thread Andreas Plesch
Hi Nyall,

I got the nightly 2.18.6 32bit release installed (after dealing with the
osgeo4w installer not finding the libmysql package to download) and
rasterlayer.renderer() now returns the the qgshillshaderenderer with the
corresponding azimuth et al. methods. Thanks again !

Andreas

On Sun, Apr 9, 2017 at 7:37 PM, Andreas Plesch 
wrote:

> Hi Nyall,
>
> wow, that's great. I will try a nightly this week.
>
> -Andreas
>
>
> On Sun, Apr 9, 2017 at 6:53 PM, Nyall Dawson 
> wrote:
>
>> On 10 April 2017 at 08:30, Andreas Plesch 
>> wrote:
>> >> Date: Sat, 8 Apr 2017 13:51:43 -0700 (MST)
>> >> From: Tom Chadwin 
>> >>
>> >> They should be there:
>> >>
>> >> https://qgis.org/api/classQgsHillshadeRenderer.html
>> >>
>> >>
>> >
>> > Thanks. Yes, they are there. The problem is I cannot find a way to get
>> to
>> > the QgisHillshadeRenderer itself, from the QgsRasterLayer.
>> > QgsRasterLayer.renderer() only provides QgsRasterRenderer. Anyways, the
>> > .writeXML approach works well enough. [ It is a bit strange that the
>> > altitude is named angle as an xml attribute. ]
>> >
>> > Ideally, I would want to get the lightAzimuth and lightAltitude values
>> from
>> > the hillshaderendererwidget used in the layer properties gui . Is there
>> a
>> > way to get that from a processing python script (or plugin)? The idea
>> is to
>> > use existing values provided in the nice existing GUIs as much as
>> possible.
>>
>> There was a missing sip cast for QgsHillshadeRenderer - without this
>> in place you only get access to the common QgsRasterRenderer methods.
>>
>> It's fixed in https://github.com/qgis/QGIS/c
>> ommit/8cf5860d72e6c7d4c7345b3a880020263549a93c
>>
>> Nyall
>>
>
>
>
> --
> Andreas Plesch
> 39 Barbara Rd.
> Waltham, MA 02453
>



-- 
Andreas Plesch
39 Barbara Rd.
Waltham, MA 02453
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] How to add an action into a layer through python

2017-04-14 Thread Luca Mandolesi
Hi,
I would to know if it's possibile to add a python action into a layer
charged inside layer registry? There is a method inside pyQgis API?

Thanks a lots
Regards
Luca
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Plugin [1035] Lat Lon Tools approval notification.

2017-04-14 Thread noreply

Plugin Lat Lon Tools approval by pcav.
The plugin version "[1035] Lat Lon Tools 0.8" is now approved
Link: http://plugins.qgis.org/plugins/latlontools/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGEP - right place to raise issues and discuss technical matters ?

2017-04-14 Thread Régis Haubourg
Hi Michaël,
nice to see more people join the water application fest :).

good question, and we could ask the same for similar projects like QWAT and
the others ready to launch.

Your point is that we miss mailing list / IRC or other channels dedicated
to those projects ?

My guess is that it is up to each Steering comitee to decide if they want
to open those channels.

My personal opinion is a big yes, still we need to avoid opening *yet
another list of channels* when current cluttering is quite high (mails,
irc, gitter, matrix, git pr and issues, wikis) It's a real challenge for us
to avoid communication gaps.

Maybe we could discuss that at Essen, will you join?

Matthias, Denis, any opinion ?

Régis



2017-04-13 19:35 GMT+02:00 kimaidou :

> Hi all,
>
> I am working for a client of mine with the great QGEP model and plugin. I
> have some issues, questions, and I would like to contribute with possible
> translation, documentation and development.
>
> My first reflex would be to open issues and PR in QGEP github repository,
> but since this project is led by a community of users, with an official
> steering committee, I was wondering if I can use it.
>
> I have already contacted Matthias Kuhn privately to discuss some points,
> but I really think this would be better for him and for QGEP if I do not go
> on sending him direct emails ;)
>
> Regards,
> Michaël
>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Plugin [995] dzetsaka : Classification tool approval notification.

2017-04-14 Thread noreply

Plugin dzetsaka : Classification tool approval by pcav.
The plugin version "[995] dzetsaka : Classification tool 2.4" is now approved
Link: http://plugins.qgis.org/plugins/dzetsaka/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer