Re: [Qgis-developer] QgsFieldExpressionWidget return the results of the expression

2016-05-10 Thread matteo
Awesome! Thanks for the tip! This is the way I solved the problem (not sure if it is the best one, but it seems working): if self.expField.currentField()[1] == False: for i in lay1.getFeatures(): f1.append(i[lay1_f]) else: filter = self.expField.currentField()[0] exp =

Re: [Qgis-developer] QgsFieldExpressionWidget return the results of the expression

2016-05-10 Thread Rouzaud Denis
HI Matteo, > On 10 May 2016, at 18:14, matteo wrote: > > Hi devs, > > I'm struggling with a maybe simple issue.. > > In a plugin I have added a QgsFieldExpressionWidget connected to a > QgsMapLayerComboBox.. > > What I am currently trying to do without any result

[Qgis-developer] QgsFieldExpressionWidget return the results of the expression

2016-05-10 Thread matteo
Hi devs, I'm struggling with a maybe simple issue.. In a plugin I have added a QgsFieldExpressionWidget connected to a QgsMapLayerComboBox.. What I am currently trying to do without any result is to get a list of the field values filtered with the result of the expression added In a

[Qgis-developer] Plugin [991] Report Plugin approval notification.

2016-05-10 Thread noreply
Plugin Report Plugin approval by macho. The plugin version "[991] Report Plugin 0.1" is now approved Link: http://plugins.qgis.org/plugins/report/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info:

Re: [Qgis-developer] Memory leak in QGIS 2.14 with a Shapefile

2016-05-10 Thread kimaidou
Thanks Nyall, I will build last master and check it asap. Cheers, Michaël 2016-05-10 6:25 GMT+02:00 Nyall Dawson : > On 10 May 2016 at 03:38, kimaidou wrote: > > Hi > > > > I just tested with a freshly built QGIS release-2_14 , and the issue > >

Re: [Qgis-developer] Is QGIS Server thread safe?

2016-05-10 Thread G. Allegri
Right, thanks. I didn't know fastcgi was conceptually designed to do single threading, and that apache mod_fcgid spawns a new process for each single request. That's wht I was looking into QGIS Server itself. We usually use different deployment means, but it's important to have a clear answer on

Re: [Qgis-developer] Is QGIS Server thread safe?

2016-05-10 Thread Alessandro Pasotti
2016-05-10 10:05 GMT+02:00 G. Allegri : > Hi Marco, thanks for the reply. > I imagined that but I couldn't find where QGIS Server spawns new processes > to handle the incoming requests. Could you point me to the lines where it > happens? > > QGIS Server do not spawn any

Re: [Qgis-developer] Is QGIS Server thread safe?

2016-05-10 Thread Marco Hugentobler
On 05/10/16 10:05, G. Allegri wrote: Hi Marco, thanks for the reply. I imagined that but I couldn't find where QGIS Server spawns new processes to handle the incoming requests. Could you point me to the lines where it happens? QGIS Server does not spawn the new processes itself. This is

Re: [Qgis-developer] Is QGIS Server thread safe?

2016-05-10 Thread G. Allegri
Hi Marco, thanks for the reply. I imagined that but I couldn't find where QGIS Server spawns new processes to handle the incoming requests. Could you point me to the lines where it happens? giovanni Il 09/mag/2016 11:09 PM, "G. Allegri" ha scritto: > Today me and my

[Qgis-developer] Status of QEP 40: Aggregate functions for QGIS expressions

2016-05-10 Thread Neumann, Andreas
Hi QGIS devs, Hi Nathan, I would really like to see the work of the aggregate expression functions land in 2.16 - if possible. We are also the funders of this work. Is there a chance that this can be commented/agreed/disagreed by more devs and then hopefully accepted? See

Re: [Qgis-developer] QgsFeatureRequest::FilterFid and QgsFeatureRequest::FilterFids do not retrieve the same Feature

2016-05-10 Thread Nyall Dawson
On 10 May 2016 at 02:00, René-Luc Dhont wrote: > Hi devs, > > I have an issue in QGIS Server with features filtered by FeatureId. I can > reproduce the issue in Python console. > > With a vector that has joined attributes and virtual attributes, the >

Re: [Qgis-developer] Any chance we could delay freeze until after the Girona hackfest?

2016-05-10 Thread Paolo Cavallini
Il 10/05/2016 08:46, Nyall Dawson ha scritto: > Hi all (specifically Jürgen), > > I'm just wondering if there's any chance of delaying the feature > freeze for 2.16 until after the Girona hackfest? > > It seems a shame to freeze a week before, when there's likely going to > be some cool new

[Qgis-developer] Any chance we could delay freeze until after the Girona hackfest?

2016-05-10 Thread Nyall Dawson
Hi all (specifically Jürgen), I'm just wondering if there's any chance of delaying the feature freeze for 2.16 until after the Girona hackfest? It seems a shame to freeze a week before, when there's likely going to be some cool new stuff developed during the hackfest (which would then need to

Re: [Qgis-developer] Is QGIS Server thread safe?

2016-05-10 Thread Marco Hugentobler
Hi Giovanni No, the server classes (same as most QGIS classes outside of data access / rendering ) are not thread safe. The server handles multiple requests in different processes. Regards, Marco On 05/09/16 23:09, G. Allegri wrote: Today me and my collegues were experimenting with a