[Qgis-developer] About python OpenGL

2014-09-17 Thread Geo DrinX
Hello All, I noticed that into QGIS \apps\Python27\Lib\site-packages\ there is an OpenGL\directory. Someone is already using it or experimenting with it ( of course, in QGIS ) ? Thank you Roberto ___ Qgis-developer mailing list

[Qgis-developer] ComposerLegend, the new layer tree, auto-update and QGIS-Server

2014-09-17 Thread René-Luc Dhont
Hi Devs, I have some trouble with the new layer tree in ComposerLegend. I have discovered that QGIS-Server 2.5 is not able to render ComposerLegend for a GetPrint Request, if the project has not be made by QGIS 2.5 and when the auto-update ComposerLegend property is set to true. Here is

Re: [Qgis-developer] Problem with my first plugin in Python

2014-09-17 Thread Luigi Pirelli
probabily your're mixing pyqt4 from osgeo4w installation with pyqt4 as standalone installation (with python)... to solve it's a good shortcut launch your pycharm from a .bat script similar to that used to start QGIS (copy and edit it)... leave loading osgeo4w env and add pythonpath to point your

[Qgis-developer] Telemetry Layer (MQTT Integration) - alpha released

2014-09-17 Thread Andrew McClure
Dear QGIS developers, I have submitted my first QGIS plugin to the world. It is experimental, unfinished, and no doubt has many defects. For the past 3 months or so between farm and family chores I have worked to bring a vision to fruition - combining an IoT (Digimesh) sensor network with the

[Qgis-developer] Rotating point symbols

2014-09-17 Thread Andreas Neumann
Hi, In an old QGIS version (can't remember which (probably pre QGIS 2.0)) we had a tool to rotate point symbols, if a column storing rotation values was correctly specified. It even had fixed rotation steps (every 15 degrees) when pressing a modifier key (I think the alt-key). In a current QGIS

Re: [Qgis-developer] Rotating point symbols

2014-09-17 Thread Andreas Neumann
Hi, Apparently the Point rotation tool is still available (at the end of the advanced digitizing toolbar), but it is not compatible with the rule-based renderer ;-( If I use a classified renderer or a single simple renderer I can choose the rotation field. Maybe we could fix this at the

[Qgis-developer] Problem with Qgis c++ plugin

2014-09-17 Thread Nejia
Hi, I have a Qgis C++ plugin that adds a tool, I build my plugin using the libraries of Qgis built from sources https://github.com/qgis/QGIS/tree/release-2_4 with Microsoft Visual Studio as described here http://htmlpreview.github.io/?https://raw.github.com/qgis/QGIS/master/doc/I

[Qgis-developer] Handling deprecation of QgsMapCanvas.mapRenderer()

2014-09-17 Thread Tom Chadwin
I see that QgsMapCanvas.mapRenderer() is deprecated. We are currently using it as follows: crsSrc = qgis.utils.iface.mapCanvas().mapRenderer().destinationCrs() If I read the documentation correctly, the new way of achieving this is: crsSrc =

Re: [Qgis-developer] Problem with my first plugin in Python

2014-09-17 Thread Francisco D. Salas Rosette
Hi, thanks Luigi and Gari by yours answer , but I could not configure well the pycharm with PyQGis, searching in internet find this document Setting up PyCharm for PyQGIS and Qt , and followed the instructions without success. I don't understand how configure the set PATH, set PYTHONHOM,

[Qgis-developer] Keeping line breaks in QGIS expressions

2014-09-17 Thread Andreas Neumann
Hi, Increasingly I use QGIS expressions. Some of them are quite complex and span numerous lines (e.g. nested CASE statements). I noticed that line breaks are not preserved. This makes the statement much harder to read. Is there a chance that future QGIS versions could preserve linebreaks or is

Re: [Qgis-developer] Problem with Qgis c++ plugin

2014-09-17 Thread Nejia
Any one could give me the build options used to compile the released version of Qgis 2.4 please ? De : qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] De la part de Nejia Envoyé : mercredi 17 septembre 2014 14:12 À : qgis-developer@lists.osgeo.org Objet :

Re: [Qgis-developer] Handling deprecation of QgsMapCanvas.mapRenderer()

2014-09-17 Thread Jürgen E . Fischer
Hi Tom, On Wed, 17. Sep 2014 at 14:43:29 +, Tom Chadwin wrote: Is that correct? If so (as a QGIS plugin and Python beginner) what is the best way to handle the deprecation and maintain backwards compatibility, given that QgsMapCanvas.mapRenderer() is only in 2.4+? You could use: try:

Re: [Qgis-developer] Telemetry Layer (MQTT Integration) - alpha released

2014-09-17 Thread Nathan Woodrow
Hey Andrew, Are you Considering uploading it to the QGIS plugin repository at plugins.qgis.org? - Nathan On Wed, Sep 17, 2014 at 9:01 PM, Andrew McClure and...@southweb.co.nz wrote: Dear QGIS developers, I have submitted my first QGIS plugin to the world. It is experimental, unfinished,

Re: [Qgis-developer] Keeping line breaks in QGIS expressions

2014-09-17 Thread Andreas Neumann
Ah I see. Maybe this is also related: http://hub.qgis.org/issues/8518 and could be fixed similarly. Andreas Am 17.09.2014 19:29, schrieb Régis Haubourg: +1, I also noticed that we have troubles with line break html popups. they seems to be multiplied by 4 on each project save ... really

Re: [Qgis-developer] Telemetry Layer (MQTT Integration) - alpha released

2014-09-17 Thread Andrew McClure
Hi Paolo I've followed the submission process and uploaded here. http://plugins.qgis.org/plugins/TelemetryLayer/ That said, it is only really ready for developers to look at as there is much finishing work to be done. Thanks Andrew On 18/09/2014, at 5:11 am, Paolo Cavallini

[Qgis-developer] Canvas rendering misbehaving?

2014-09-17 Thread Paolo Cavallini
Hi all. Two possible issues: * if I deselect Render, the zoom still works on the canvas, enlarging the image without increasing the resolution * a single click on the canvas moves the image on the direction opposite of the position of the mouse respect to the center of the map. Should I open two