Re: [Qgis-developer] Reliable way to determine a groupIndex in the legend tree

2013-10-08 Thread Bernhard Ströbl
in "Settings" --> "Options" --> "Map & Legend" --> "Layerlegend"? Thanks, Andreas ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___

Re: [Qgis-developer] Reliable way to determine a groupIndex in the legend tree

2013-10-08 Thread Denis Rouzaud
in "Settings" --> "Options" --> "Map & Legend" --> "Layerlegend"? Thanks, Andreas ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer __ Information from ESET Mail Secu

Re: [Qgis-developer] Reliable way to determine a groupIndex in the legend tree

2013-10-08 Thread Bernhard Ströbl
g http://lists.osgeo.org/mailman/listinfo/qgis-developer __ Information from ESET Mail Security, version of virus signature database 8893 (20131008) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Using PDB for debuggin on Windows

2013-10-08 Thread Gary Sherman
Hi all, I'm working on the "Debugging" chapter for the PyQGIS book[1] and have a question. Is there a way to use pdb to debug a plugin on Windows? It works on OS X and Linux, but seems to have issues on Windows, likely related to not being able to connect to the terminal that QGIS was started fro

Re: [Qgis-developer] Reliable way to determine a groupIndex in the legend tree

2013-10-08 Thread Andreas Neumann
y? >> >> Maybe there is some interference with the setting "New layers should be >> added to chosen or current group" setting in "Settings" --> "Options" >> --> "Map & Legend" --> "Layerlegend&quo

Re: [Qgis-developer] Reliable way to determine a groupIndex in the legend tree

2013-10-08 Thread Bernhard Ströbl
_ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer __ Information from ESET Mail Security, version of virus signature database 8890 (20131008) __ The message was checked

[Qgis-developer] Reliable way to determine a groupIndex in the legend tree

2013-10-08 Thread Andreas Neumann
Hi, In my python script I would like to append a filtered Postgis layer into a group with a given name. This works fine as long as the user did not activate a group already interactively. If a group is already active, my method to find the groupIndex fails. If not group is active, the script

Re: [Qgis-developer] Python: Select features that touch other features

2013-10-08 Thread Andreas Neumann
Thank you Daniel, Nathan and Marco for all your hints. I am sure I will manage to do what I want with all of your suggestions! Andreas Am 06.10.2013 02:00, schrieb Daniel: > Using map() is the pythonic way > > > Maybe ftools need an upgrade :) > > Thanks for the tip > > > On Sat, Oct 5, 201

[Qgis-developer] Oracle GeoRaster Plugin in QGIS 2.0

2013-10-08 Thread Larissa Junek
Hello all, for documentational reasons we would like to know if the Oracle GeoRaster Plugin was updated in QGIS 2.0? Can somebody go through the text and update it if required? http://www.qgis.org/en/docs/user_manual/plugins/plugins_oracle_raster.html Any hints welcome. Regards, Larissa ___

Re: [Qgis-developer] addAttribute to memory layer

2013-10-08 Thread Gino Pirelli
explication is in the code http://www.qgis.org/api/qgsvectorlayer_8cpp_source.html#l03192 it' important to follow the emitted signal and related listener to know exactly all involved cmponents ciao ginetto On 8 October 2013 10:04, Ing. Pierluigi De Rosa < pierluigi.der...@gfosservices.it> wr

Re: [Qgis-developer] addAttribute to memory layer

2013-10-08 Thread Ing. Pierluigi De Rosa
Thanks Alessando, It was what I was looking for. My error was I didn't updated fields using: vectorlayer.updateFields() Why it is necessary to call it when a field is added into provider? Thanks Pierluigi Il giorno lun, 07/10/2013 alle 10.51 +0200, Alessandro Pasotti ha scritto: > You can try