Re: [QGIS-Developer] Qt Model-View updates blocked when Python console not open

2017-10-05 Thread Ricardo Filipe Soares Garcia da
Hi Peter In addition to Matthias' advice perhaps try using QNetworkAccessManager[1] and related classes in order to deal with your http requests asynchronously. This should fix the UI blocking issues. Best regards [1] - http://pyqt.sourceforge.net/Docs/PyQt4/qnetworkaccessmanager.html#details

[QGIS-Developer] startup.py and QGIS3

2017-10-05 Thread Spencer Gardner
Hi all. I have two questions: 1. Is there more documentation on how startup.py works? (e.g. presence of special variables, other quirks) 2. Have there been any significant changes to startup.py behavior in QGIS3? For context, I'm sharing maps with another user and I'd like to set a

Re: [QGIS-Developer] pyqgis - openfeatureform highlight?

2017-10-05 Thread Anders Vittrup
Hi, I have now done some testing and with qgisinterface it is possible to get the QgsAttributeDialog with getfeatureform then it is possible to use setHighlight and assign the QgsHighlight. Now the last problem. In the docs for QgsHighlight QgsHighlight::QgsHighlight ( QgsMapCanvas

Re: [QGIS-Developer] SQLite/GPKG database locked during canvas refresh... is it a feature?

2017-10-05 Thread Luigi Pirelli
can make sense a solution like this one? https://github.com/qgis/QGIS/pull/5305 Luigi Pirelli ** * Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com * LinkedIn:

Re: [QGIS-Developer] QGIS Server: proposal for small change in GetFeatureInfo response

2017-10-05 Thread Andreas Neumann
Hi Régis, I would prefer to have them disabled by default. It easier to change the two existing web clients than changing any other WMS client out there. After the change in QGIS server (QGIS 3 would make sense for this change), we would have to change LizMap and QWC2. I don't even know if

Re: [QGIS-Developer] QGIS Server: proposal for small change in GetFeatureInfo response

2017-10-05 Thread Alessandro Pasotti
I think we should stick to the standards as much as possible, vendor params should be optional and disabled by default. On Thu, Oct 5, 2017 at 3:18 PM, Régis Haubourg wrote: > Hi Andreas, > good point. > > Having two vendor-specific options is ok to me. > What I am

Re: [QGIS-Developer] Qt Model-View updates blocked when Python console not open

2017-10-05 Thread Peter Devoy
Just a little update; it is the fact I am using print() to output debug information upon each request which is allowing the UI to repaint. Also, it seems that opening and closing the Python console once is enough. Peter 3XE P: 01326 567155 M: 07770 693662 A: 3XE Ltd Tremough Innovation Centre

Re: [QGIS-Developer] QGIS Server: proposal for small change in GetFeatureInfo response

2017-10-05 Thread Régis Haubourg
Hi Andreas, good point. Having two vendor-specific options is ok to me. What I am wondering is: - do we prefer to have them displayed by default, and we won't break existing web client - have them hidden by default and we stop surcharging QGIS client identify window. Any opinion? Régis

[QGIS-Developer] QGIS Server: proposal for small change in GetFeatureInfo response

2017-10-05 Thread Andreas Neumann
Hi QGIS Server devs and users, I have a small proposal for a change in the QGIS Server GetFeatureInfo reponse. Next to the attributes that are returned for a feature, there are two additional results: * geometry (optional, used for high-lighting in Web-GIS clients) * maptip

Re: [QGIS-Developer] Caching of raster images

2017-10-05 Thread Mathieu Pellerin
You can also build your VRT using QGIS' processing toolbox. On Oct 5, 2017 7:26 PM, "Régis Haubourg" wrote: > GDAL is probably installed on your system, you need it for QGIS :) > > something like this should do the trick in a linux bash or from the > osgeo4w embedded

Re: [QGIS-Developer] Caching of raster images

2017-10-05 Thread Régis Haubourg
GDAL is probably installed on your system, you need it for QGIS :) something like this should do the trick in a linux bash or from the osgeo4w embedded shells (either windows or msys ) gdalbuildvrt all_ecw.vrt *.tiff -a_srs "EPSG:yourSridHere" See

Re: [QGIS-Developer] Caching of raster images

2017-10-05 Thread Patrick Dunford
I probably don't have the technical means to use that. On 06/10/17 01:12, Régis Haubourg wrote: here it is: http://www.gdal.org/gdal_vrttut.html you can assemble raster of vector files, apply filters, reprojections, build pyramids to avoid fetching the lowest resolution data. This is pretty

Re: [QGIS-Developer] Caching of raster images

2017-10-05 Thread Régis Haubourg
here it is: http://www.gdal.org/gdal_vrttut.html you can assemble raster of vector files, apply filters, reprojections, build pyramids to avoid fetching the lowest resolution data. This is pretty efficient. Cheers Régis 2017-10-05 14:10 GMT+02:00 Patrick Dunford : > I

Re: [QGIS-Developer] Caching of raster images

2017-10-05 Thread Patrick Dunford
I don't know what this is. On 06/10/17 01:08, Régis Haubourg wrote: Hi Patrick ,  did you consider using GDAL VRT to avoid opening so much files? In my experience, this works well. Régis 2017-10-05 13:48 GMT+02:00 Patrick Dunford >:

Re: [QGIS-Developer] Caching of raster images

2017-10-05 Thread Régis Haubourg
Hi Patrick , did you consider using GDAL VRT to avoid opening so much files? In my experience, this works well. Régis 2017-10-05 13:48 GMT+02:00 Patrick Dunford : > Some time ago in a discussion of a particular bug a contributor expressed > concern that the refresh of

[QGIS-Developer] Caching of raster images

2017-10-05 Thread Patrick Dunford
Some time ago in a discussion of a particular bug a contributor expressed concern that the refresh of background rasters (aerial photography) in Windows was too slow. Maybe this is the reason that recent versions of master appear to be loading all of the background imagery into memory (I use

Re: [QGIS-Developer] Missing next button In Website

2017-10-05 Thread DelazJ
Matteo, no problem. You don't have to be sorry. Also, mentioning that in the list makes Richard aware of the bug. So it's good! :-) Harrissou 2017-10-05 12:15 GMT+02:00 Richard Duivenvoorde : > On 05-10-17 11:22, matteo wrote: > > Thanks Harrissou, > > > > I missed your

Re: [QGIS-Developer] QGIS 3 vertex editor problems

2017-10-05 Thread Régis Haubourg
Hi, Agreed with Martin, the ergonomics changed because now we can't anymore assume all the vertices are in the same feature. Not being able to sub select a node without loosing previous selection is indeed a pain. Martin is there any solution to keep a node selection, and be able to subselect

Re: [QGIS-Developer] QGIS Server 3 status

2017-10-05 Thread Tim Sutton
Hi > On 05 Oct 2017, at 10:09, David Marteau wrote: > > Hi, > > Thanks for the overview. > > We need more examples of embedding the server in python and I plan to publish > some concrete examples from our use cases asap. Thats great David! Looking forward to testing it

Re: [QGIS-Developer] Missing next button In Website

2017-10-05 Thread matteo
Thanks Harrissou, I missed your issue. Sorry for the duplicated noise :) Thanks! Cheers Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe:

Re: [QGIS-Developer] Missing next button In Website

2017-10-05 Thread DelazJ
Hi Matteo, https://github.com/qgis/QGIS-Documentation/issues/2073 2017-10-05 11:15 GMT+02:00 matteo : > Hi guys, > > I noticed a strange thing in the Website. It seems that there is only > the **previous** button both on the top and on the bottom of the page > and the

Re: [QGIS-Developer] Segmentation fault with 'Create raster icons' on and loading a WMS... opinion to remove the preview feature?

2017-10-05 Thread Luigi Pirelli
FYI hwo complementary PR to solve the issue: https://github.com/qgis/QGIS/pull/5299 by Mathias https://github.com/qgis/QGIS/pull/5302 by me Luigi Pirelli ** * Boundless QGIS Support/Development:

[QGIS-Developer] Missing next button In Website

2017-10-05 Thread matteo
Hi guys, I noticed a strange thing in the Website. It seems that there is only the **previous** button both on the top and on the bottom of the page and the **next** button is missing For example here: http://docs.qgis.org/testing/en/docs/training_manual/processing/index.html but the same

Re: [QGIS-Developer] QGIS 3 vertex editor problems

2017-10-05 Thread Martin Dobias
Hi Andreas On Wed, Oct 4, 2017 at 10:00 AM, Andreas Neumann wrote: > Hi, > > In QGIS 3 the node editing on canvas was quite improved (thanks Martin and > the sponsors!), however, the vertex editor that allowed to edit individual > nodes in a list of exact coordinates

Re: [QGIS-Developer] QGIS Server 3 status

2017-10-05 Thread David Marteau
Hi, Thanks for the overview. We need more examples of embedding the server in python and I plan to publish some concrete examples from our use cases asap. David M. > Le 5 oct. 2017 à 09:34, Alessandro Pasotti a écrit : > > Hi Règis, > > thanks for the nice summary! >

Re: [QGIS-Developer] QGIS Server 3 status

2017-10-05 Thread Alessandro Pasotti
Hi Règis, thanks for the nice summary! Maybe it would be interesting for python devs to stress out how QGIS server 3 brings the bindings and the plugins to a new level: while the original filter-style python plugins, are still available, the new service-oriented plugin-based architecture allows