Re: [Qgis-developer] index in self.legend.groupLayerRelationship - different behavior between QGIS 1.8 and master?

2012-10-04 Thread Massimo
Andreas Neumann wrote Alternatively it would be nice to have a method for direct access to groups by name, without having to loop through all groups and see if the name matches ... some notes: At the moment it is possible to have the same group name at the same or different level in the tree.

Re: [Qgis-developer] index in self.legend.groupLayerRelationship - different behavior between QGIS 1.8 and master?

2012-10-04 Thread Andreas Neumann
Hi, I know that there can be two or more layers of the same name, but I think we can solve it in different ways: 1. the method providing access to layers by name could return a list / array with layer references - if the plugin author knows/assumes that the layer names in his project are

Re: [Qgis-developer] Function instructions

2012-10-04 Thread Paolo Cavallini
Il 20/09/2012 11:45, Paolo Cavallini ha scritto: Hi all. The new functions are not documented. At least for now, could we just copy and paste simple instructions, e.g. from http://www.sql.org/sql-database/postgresql/manual/functions.html ? It would be simple and a big help for new users.

Re: [Qgis-developer] Does QGIS Currently Support WCS? or WMTS?

2012-10-04 Thread Radim Blazek
On Wed, Oct 3, 2012 at 10:46 PM, Bruce, Bob (CON) bob.br...@gov.mb.ca wrote: We are currently testing Cubewerx web services and are interested in testing their WCS support. Can QGIS use a WCS server and if so how can I use it to do that? WCS support is available in master. If you compile

[Qgis-developer] New Python console: missing icons?

2012-10-04 Thread Paolo Cavallini
Hi all. Just compiled, the icons in the python console aremissing: a local problem, or other have the same? Thanks. -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario

[Qgis-developer] License Summary

2012-10-04 Thread Werner Macho
Hi! I took the freedom to dig a bit deeper into what is in our sourcecode.. Licenses we have so far: 1475 Files: GPL (v2 or later) 508 Files: (*No copyright* ) UNKNOW - We should definitely fix this!! 41 Files: GPL (v3 or later) (sqlanywhere and pal) - Issues? Do we have to switch do v3? 21

Re: [Qgis-developer] New Python console: missing icons?

2012-10-04 Thread Paolo Cavallini
Il 04/10/2012 12:31, Paolo Cavallini ha scritto: Hi all. Just compiled, the icons in the python console aremissing: a local problem, or other have the same? Thanks. Also help is a blank window here. Anyone confirms? Thanks. -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details

Re: [Qgis-developer] License Summary

2012-10-04 Thread Victor Olaya
Werner Thanks! The java SEXTNATE code is MIT licensed, but I think that someone said that QGIS plugins should be GPL. I am fine with both GPL 2 and 3, in case you can add the headers yourself (thanks in advance!). Alexander and Camilo contributed code as well. Do they have anything to say about

Re: [Qgis-developer] License Summary

2012-10-04 Thread Paolo Cavallini
Il 04/10/2012 12:38, Werner Macho ha scritto: Hi! I took the freedom to dig a bit deeper into what is in our sourcecode.. Licenses we have so far: Thanks Werner for the analysis. So we have two issues: - missing copyrights (can we have a list of those files?) - compatibility among licences

Re: [Qgis-developer] index in self.legend.groupLayerRelationship - different behavior between QGIS 1.8 and master?

2012-10-04 Thread Massimo
Hi, Andreas Neumann wrote 1. the method providing access to layers by name could return a list / array with layer references - if the plugin author knows/assumes that the layer names in his project are distinct he can just pick up the first reference in the list Layer or groups ? Finding a

Re: [Qgis-developer] License Summary

2012-10-04 Thread Etienne Tourigny
On Thu, Oct 4, 2012 at 7:53 AM, Victor Olaya vola...@gmail.com wrote: Werner Thanks! The java SEXTNATE code is MIT licensed, but I think that someone said that QGIS plugins should be GPL. I am fine with both GPL 2 and 3, in case you can add the headers yourself (thanks in advance!). I

Re: [Qgis-developer] License Summary

2012-10-04 Thread Volker Fröhlich
On Thu, 2012-10-04 at 08:35 -0300, Etienne Tourigny wrote: On Thu, Oct 4, 2012 at 7:53 AM, Victor Olaya vola...@gmail.com wrote: Werner Thanks! The java SEXTNATE code is MIT licensed, but I think that someone said that QGIS plugins should be GPL. I am fine with both GPL 2 and 3, in

Re: [Qgis-developer] index in self.legend.groupLayerRelationship - different behavior between QGIS 1.8 and master?

2012-10-04 Thread kimaidou
Hi all, In Lizmap plugin, I need to display the layer and group tree. You can find some code here : https://bitbucket.org/mdouchin/lizmapplugin/src/9cdfa856b8f0/lizmap.py Line 451 : populateLayerTree There is some specific lizmap code in there, but you can probably use some of it. Michael

Re: [Qgis-developer] License Summary

2012-10-04 Thread Paolo Cavallini
Il 04/10/2012 13:41, Volker Fröhlich ha scritto: I don't see why sextante in qgis has to change from MIT to GPL, does it really have to? No, it does not have to, from a legal point of view. I do not think it has changed: java and python versions have no code in common, so the author simply

Re: [Qgis-developer] New Python console: missing icons?

2012-10-04 Thread Nathan Woodrow
Yeah I have both those issues here too. - Nathan On Thu, Oct 4, 2012 at 8:46 PM, Paolo Cavallini cavall...@faunalia.it wrote: Il 04/10/2012 12:31, Paolo Cavallini ha scritto: Hi all. Just compiled, the icons in the python console aremissing: a local problem, or other have the same? Thanks.

[Qgis-developer] Issue with WFS Provider .so linkage

2012-10-04 Thread rldhont
Hi all, Because of some changes in the QgsGeometry class with the QGIS Server WFS-T integration, I would like to update the WFS Provider. I update it and I test it. The result is a segfault because of a undefined symbol. I verifying the linkage between my

Re: [Qgis-developer] Issue with WFS Provider .so linkage

2012-10-04 Thread Etienne Tourigny
Have you rebuilt the entire source tree or just the provider? On Thu, Oct 4, 2012 at 10:27 AM, rldhont rldh...@gmail.com wrote: Hi all, Because of some changes in the QgsGeometry class with the QGIS Server WFS-T integration, I would like to update the WFS Provider. I update it and I test

Re: [Qgis-developer] Issue with WFS Provider .so linkage

2012-10-04 Thread rldhont
Le 04/10/2012 15:40, Etienne Tourigny a écrit : Have you rebuilt the entire source tree or just the provider? The entire tree On Thu, Oct 4, 2012 at 10:27 AM, rldhont rldh...@gmail.com wrote: Hi all, Because of some changes in the QgsGeometry class with the QGIS Server WFS-T integration,

Re: [Qgis-developer] Issue with WFS Provider .so linkage

2012-10-04 Thread Marco Bernasocchi
maybe passing -L/usr/whereever/lib in LDFLAGS? ciao Marco Bernasocchi (mobile) http://opengis.ch On Oct 4, 2012 8:27 PM, rldhont rldh...@gmail.com wrote: Hi all, Because of some changes in the QgsGeometry class with the QGIS Server WFS-T integration, I would like to update the WFS Provider.

[Qgis-developer] New Gold Sponsor for QGIS

2012-10-04 Thread Gary Sherman
QGIS Gains a Gold Sponsor The Quantum GIS (QGIS) project is happy to announce that the Asia Air Survey Co., Ltd (AAS), a Japanese international consulting company, has become a Gold Sponsor. AAS has committed to providing 9,000 EUR (~ $11,000 US) each of three years, beginning in November

Re: [Qgis-developer] index in self.legend.groupLayerRelationship - different behavior between QGIS 1.8 and master?

2012-10-04 Thread Massimo
Michael, thank you for the tip but your code fails under some circumstances. See attached image. http://osgeo-org.1560.n6.nabble.com/file/n5006430/lizmap_error.png If you think that you can fix it I will be happy to adopt your algorithm, otherwise we can find a solution adding something to QGis

Re: [Qgis-developer] License Summary

2012-10-04 Thread Victor Olaya
I don't see why sextante in qgis has to change from MIT to GPL, does it really have to? No, it does not have to, from a legal point of view. I do not think it has changed: java and python versions have no code in common, so the author simply chose a different licence. All the best. Just

[Qgis-developer] QGIS python plugin, segmentation fault, what can I do?

2012-10-04 Thread Dominik Fröhlich
Hello, I'm trying to write a python plugin to create an input file for an urban climate model (RayMan) out of three shape files. Unfortunatelly QGIS closes when I try to load the plugin (Windows, as well as Linux, both 32bit, version 1.8.0). When I start QGIS from the Terminal (Ubuntu), I get

Re: [Qgis-developer] New Python console: missing icons?

2012-10-04 Thread Paolo Cavallini
Il 04/10/2012 15:15, Nathan Woodrow ha scritto: Yeah I have both those issues here too. Glad I'm not the only one. Just recompiled from master, the issue remains. Thanks. -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc Nuovi corsi QGIS e PostGIS:

Re: [Qgis-developer] index in self.legend.groupLayerRelationship - different behavior between QGIS 1.8 and master?

2012-10-04 Thread Massimo
Michael, the group Id could be the groupIndex. For example: GroupA [groupIndex=0, itemIndex = 0] Layer1[groupIndex=0, itemIndex = 1] GroupB [groupIndex=1, itemIndex = 2] GroupC

Re: [Qgis-developer] New Python console: missing icons?

2012-10-04 Thread Werner Macho
Not confirmed here .. everything looks fine .. compiled from latest master 5min ago .. On Thu, Oct 4, 2012 at 5:49 PM, Paolo Cavallini cavall...@faunalia.it wrote: Il 04/10/2012 15:15, Nathan Woodrow ha scritto: Yeah I have both those issues here too. Glad I'm not the only one. Just

Re: [Qgis-developer] index in self.legend.groupLayerRelationship - different behavior between QGIS 1.8 and master?

2012-10-04 Thread kimaidou
Hi massimo I completely agree, and would like to avoid the patch to a fragile system you mentionned. Having the QgsAppLegendItem with properties and methods like you described it the right way to go IMHO. The children property will help to re-build the hierarchical tree (instead of using my algo

[Qgis-developer] Outcome of the finance and marketing report

2012-10-04 Thread Paolo Cavallini
Hi all. I try to consolidate the main conclusions of our discussion: - companies listed in [0] will be requested to provide evidence of their involvement with QGIS, and major facts will be listed in the page, to provide a fair way for users to assess their contribution to the project - we agree to

Re: [Qgis-developer] New Python console: missing icons?

2012-10-04 Thread Giuseppe Sucameli
Hi all, hi Salvatore, On Thu, Oct 4, 2012 at 6:01 PM, Werner Macho werner.ma...@gmail.com wrote: Not confirmed here .. everything looks fine .. compiled from latest master 5min ago .. the problem [1] is confirmed: it's present in all the QGis installations that uses packages, both