Hi, I read the <a href="http://doc.qgis.org/stable/modules.html">QGIS API documentation</a> and tried to implement it. I have some questions/problems and I would like you to help me:<br><br>1. Is it possible to set the canvas scale manually? The only method I see is in MapRenderer class but it is not accessible for canvas.mapRenderer() (I get AttributeError: setScale).<br>
<br>2. Is it possible to set the canvas SRS manually? I only see this method on QgsMapLayer.<br><br>3. I get some "class is not defined" with QgsRunProcess and QgsMapTip. How I should reference them? I have the qgis.core and qgis.gui imports. These are the 1% of the API in C++ which is not in the bindings? :P<br>
<br>4. Implementing the QgsMapTool class I have no way to get the DoubleClick event, I did this:<br> -------------<br> def canvasDoubleClickEvent(self,event): <br> print "Yes"<br> -------------<br>
But it doesn't work. I get two Raise events instead of DoubleClick one. (I really want the DoubleClick event)<br><br>Thanks for the project and for the bindings.<br><br><br>Germán<br><br><br>-- <br>-----------<br> |\__ <br>
(:>__)(<br> |/ <br><br>Soluciones Geoinformáticas Libres <br><a href="http://geotux.tuxfamily.org/">http://geotux.tuxfamily.org/</a><br><br>