[Qgis-developer] custom forms with qt4 - problem with combo box

2013-07-03 Thread Stefan Sylla
Dear qgis-devs, I am creating a custom form with Qt4-Editor based on these great hints from here http://linfiniti.com/2009/11/creating-dynamic-forms-a-new-feature-headed-for-qgis-1-4/ http://nathanw.net/2011/09/05/qgis-tips-custom-feature-forms-with-python-logic/ When I open the form in QGIS

Re: [Qgis-developer] custom forms with qt4 - problem with combo box

2013-07-03 Thread Nathan Woodrow
Hey Stefan, Yes you are running into this: http://hub.qgis.org/issues/7012 - Nathan On Wed, Jul 3, 2013 at 5:26 PM, Stefan Sylla stefansy...@gmx.de wrote: Dear qgis-devs, I am creating a custom form with Qt4-Editor based on these great hints from here

Re: [Qgis-developer] custom forms with qt4 - problem with combo box

2013-07-03 Thread Denis Rouzaud
Hi Stefan, First, you should not set the combo box as editable in Qt-Designer [0]. It is not aimed at working like this. Only the QGIS field must be editable. Second, have you correctly set up the field as a value relation or a value map? Cheers, Denis [0]

Re: [Qgis-developer] get mean of pixel values within defined area around current mouse position

2013-07-03 Thread Otto Dassau
Hi Fred, thanks for the hints, A and B sound interesting - PostGIS is not an option here. One more question, because you already used these workarounds. What solution A or B should be more usable (faster) from your opinion, if I need to calculate the mean while moving the mouse over the map

Re: [Qgis-developer] custom forms with qt4 - problem with combo box

2013-07-03 Thread Stefan Sylla
Hi Nathan and Denis, thanks for your quick replies, it helped me solving the problem! I am not sure if this is the right way, but now it works out the following way: - in Qt4, I kept the ComboBox to be editable - in QGIS, I changed the field properties to Value Map (this is a little bothering

Re: [Qgis-developer] custom forms with qt4 - problem with combo box

2013-07-03 Thread Denis Rouzaud
Just be careful with the editable option in designer, as I noticed it might store NULL values. On 07/03/2013 09:53 AM, Stefan Sylla wrote: Hi Nathan and Denis, thanks for your quick replies, it helped me solving the problem! I am not sure if this is the right way, but now it works out the

Re: [Qgis-developer] custom forms with qt4 - problem with combo box

2013-07-03 Thread Stefan Sylla
Hi Denis, I don't see how I can set editable option in QGIS for 'Value Map' or 'Value relation'. This option only exists for Unique Value. Stefan On 07/03/2013 03:07 PM, Denis Rouzaud wrote: Just be careful with the editable option in designer, as I noticed it might store NULL values. On

Re: [Qgis-developer] custom forms with qt4 - problem with combo box

2013-07-03 Thread Denis Rouzaud
Hi Stefan, Sorry my mistake, this is a feature which has been added in master version (upcoming 2.0). Editable in QGIS will allow the user to interact or not with the combo box (this corresponds to enabled option in Qt Designer). Editable in Qt Designer means the user can write values in

[Qgis-developer] QGIS Master crash at startup

2013-07-03 Thread ludo
Hi all I try QGIS Master on debian wheezy with this depot : qgis-developer@lists.osgeo.org Since a few updates qgis did not start at all now; If I launch in command line, I have : symbol lookup error : /usr/bin/qgis.bin: undefined symbol: _ZN14QgsApplication8createDBEP7QString Do you know

Re: [Qgis-developer] Unclear errors in PostGIS layer

2013-07-03 Thread Pietro Rossin
Hello all also in my case I get an error. with this query *** SELECT a.fid, a.geom FROM elf.elettrodotti_3045 as a join elf.linee_elettriche_all_3045 as b on st_dwithin(b.geom, a.geom, 50); *** on pgadmin works on qgis 1.8 works and can load data as layer on qgis 1.9-master

[Qgis-developer] Iterate on vectors : overlay analysis

2013-07-03 Thread Samy-DT
Hello, I'm a beginner in python and pyqgis. I have a precise idea of what I want to do with python scripts : I have often many recurrent overlaying tasks to do. For example, what are the layers which intersects with a particular or a bunch of layers in a folder or in a spatialite database ? Or

Re: [Qgis-developer] get mean of pixel values within defined area around current mouse position

2013-07-03 Thread Fred Lehodey
Hi, I have no idea in terms of performance but I would bet on B option in your case. Thanks to give feedback. Regards. On Wed, Jul 3, 2013 at 8:36 AM, Otto Dassau das...@gbd-consult.de wrote: Hi Fred, thanks for the hints, A and B sound interesting - PostGIS is not an option here. One

Re: [Qgis-developer] get mean of pixel values within defined area around current mouse position

2013-07-03 Thread Etienne Tourigny
probably A would be slow because of the external call to gdalwarp On Wed, Jul 3, 2013 at 8:58 AM, Fred Lehodey leho...@gmail.com wrote: Hi, I have no idea in terms of performance but I would bet on B option in your case. Thanks to give feedback. Regards. On Wed, Jul 3, 2013 at 8:36 AM,

[Qgis-developer] Memory provider attribute types

2013-07-03 Thread Radim Blazek
Is there any reason to restrict attribute types in vector memory provider to int, double and string? Radim ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] New feature's needed, create geometry from attribute

2013-07-03 Thread Gino Pirelli
thanks to Regione Toscana you can find rt_qspider ported to qgis 2.0 if you find it useful, please test it and refer problems as usual in: http://hub.qgis.org/projects/rtqspider plugin home is: http://plugins.qgis.org/plugins/rt_qspider/ thanks, Luigi Pirelli (luigi.pire...@faunalia.it) On 2

Re: [Qgis-developer] Units tests for startup options?

2013-07-03 Thread Radim Blazek
On Thu, Jun 13, 2013 at 9:20 AM, Régis Haubourg regis.haubo...@eau-adour-garonne.fr wrote: Thanks Tim. You confirm it's possible? I'm absolutly not able to tell if it's possible to test it or not. I don't think that it is possible to add test for src/app/main.cpp into the system we are using

Re: [Qgis-developer] SRS DB maintenance

2013-07-03 Thread Radim Blazek
On Mon, Jun 3, 2013 at 6:42 PM, Jürgen E. j...@norbit.de wrote: There shouldn't be any necessary addition to GDAL in our database. If there is stuff missing from GDAL, it should IMHO be added there and not to QGIS. That's why I usually point people to GDAL instead of adding it to our

Re: [Qgis-developer] [Qgis-user] Synergy of QGIS Enterprise and QGIS 2.0/Master branch

2013-07-03 Thread Tim Sutton
Hi Pirmin what happens if / when QGIS project itself wants to release QGIS Enterprise version - or another company? Maybe it would be better to call it 'Sourcepole GIS' or something to make it clear that it is not an official QGIS product but an official Sourcepole product? I think there is going