Re: [QGIS-Developer] QGIS Script Error and Resampling Tool

2020-07-08 Thread Andrea Peri
Have you tried the saga -> resampling inside qgis ? A. Il mer 8 lug 2020, 18:50 Federico Gianoli ha scritto: > Dear all, > > I'm looking for a function to resample a raster from 300m to 1km by > considering the mean value of pixels that are not "No Data", as GDAL Warp > does. > But, in case

[QGIS-Developer] QGIS Script Error and Resampling Tool

2020-07-08 Thread Federico Gianoli
Dear all, I'm looking for a function to resample a raster from 300m to 1km by considering the mean value of pixels that are not "No Data", as GDAL Warp does. But, in case the majority of values within the 3x3 kernel of the 300m raster are "No data", "No data" will be assigned to the resampled

[QGIS-Developer] db manager SQL console very slow

2020-07-08 Thread Giovanni Manghi
Hi all, Has anyone noticed how slow the DB Manager SQL console is? It is not just a matter of slowness when returning (on screen) a lot of results, it is very slow even when issuing a query like: SELECT count(*) FROM mytable; I did a few quick tests and compared to other consoles (i.e.

Re: [QGIS-Developer] $currentfeature VS @current_feature

2020-07-08 Thread matteo
> Also, > > Don't forget that high hierarchy/context @variables can be overwritten > variables defined by the user or lower contexts. > > You can't do that with a function. yep, I'm a big fan of overwriting variables in different contexts :) ___

Re: [QGIS-Developer] $currentfeature VS @current_feature

2020-07-08 Thread Alexandre Neto
Also, Don't forget that high hierarchy/context @variables can be overwritten variables defined by the user or lower contexts. You can't do that with a function. A quarta, 8/07/2020, 15:01, matteo escreveu: > Thanks Andreas and Harrissou for the clarification. > > Actually what is confusing me

Re: [QGIS-Developer] $currentfeature VS @current_feature

2020-07-08 Thread matteo
Thanks Andreas and Harrissou for the clarification. Actually what is confusing me is that the variable @current_feature is suggested in bold directly in the Expression Builder within the Attribute Forms. I know that variable depends on the scope (e.g. @symbol_color) but I thought that IF a

Re: [QGIS-Developer] $currentfeature VS @current_feature

2020-07-08 Thread DelazJ
Hi, The @current_feature is, according to the doc[0], available when editing in attribute table and form contexts which are not actually the one you have, Matteo. [0] https://github.com/qgis/QGIS/blob/master/src/core/expression/qgsexpression.cpp#L861and in documentation

Re: [QGIS-Developer] $currentfeature VS @current_feature

2020-07-08 Thread Andreas Neumann
Hi Matteo, The "$" prefix marks a function without arguments, "@" are variables. Sometimes both variants exist, as you have discovered. Mainly due to historic reasons and the fact that the "$"-stuff is around for a lont time already, but the variables where added quite a bit later. Are you

Re: [QGIS-Developer] QGIS server logs

2020-07-08 Thread Paolo Cavallini
in my case, no docker, it's a real machine, with a xvfb thanks Sylvain for comments Il 08/07/20 13:10, Sylvain POULAIN ha scritto: > @Regis, > > For xdg open and docker, just map your X11 running session inside docker > container and export DISPLAY like this : > > -v

Re: [QGIS-Developer] QGIS server logs

2020-07-08 Thread Sylvain POULAIN
@Regis, For xdg open and docker, just map your X11 running session inside docker container and export DISPLAY like this : -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY It works with docker mundialis qgis 2. If not sufficient, you could map xdg-open to container : -v

[QGIS-Developer] $currentfeature VS @current_feature

2020-07-08 Thread matteo
Hi all, before to file a ticker I'd like to have a small feedback. Maybe I'm missing something but what is actually the difference between $currentfeature and @current_feature? Because I was expecting to use @current_feature together with attribute like: attribute(@current_feature, 'my_field')

[QGIS-Developer] Plugin [2081] MapTiler approval notification.

2020-07-08 Thread noreply
Plugin MapTiler approval by Gustry. The plugin version "[2081] MapTiler 1.1.2" is now approved Link: http://plugins.qgis.org/plugins/qgis-maptiler-plugin/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:

Re: [QGIS-Developer] QGIS server logs

2020-07-08 Thread Paolo Cavallini
Hi again, on the same server I'm getting frequent: [Wed Jul 08 10:15:21.847370 2020] [fcgid:warn] [pid 23438] [client 127.0.0.1:37450] mod_fcgid: error reading data, FastCGI server closed connection [Wed Jul 08 10:15:21.847989 2020] [core:error] [pid 23438] [client 127.0.0.1:37450] End of script

[QGIS-Developer] Plugin [629] Networks approval notification.

2020-07-08 Thread noreply
Plugin Networks approval by Gustry. The plugin version "[629] Networks 2.4.6" is now approved Link: http://plugins.qgis.org/plugins/networks/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: