Re: [QGIS-Developer] How to retrieve all "virtual fields" of a layer?

2017-05-31 Thread Etienne Trimaille
Hi, Both layer.fields() or layer.pendingFields() work for me. I got my virtual field. 2017-06-01 3:34 GMT+08:00 Stefan Keller : > Hi, > > In a Python plugin I want to retrieve information about all > attributes/fields of a layer > In the cookbook [1] it's described how to

Re: [QGIS-Developer] SIP coverage test removal and Travis optimization

2017-05-31 Thread Nyall Dawson
On 31 May 2017 at 22:15, Denis Rouzaud wrote: > Dear all, > > Our automatic SIP files generation is almost there and I would like to > remove the SIP coverage test from running on Travis. > Is this acceptable? In general, but... > Is there any reason to keep the test

Re: [QGIS-Developer] [Qgis-user] Wrong result with Saga Raster calculator

2017-05-31 Thread Pedro Venâncio
Hi Eugenio, I've created a sample processing model (attached), that works ok, except a small error in the result (decimals). For instance: *Raster* *ID* *Pixel value* Z_top_res a 1202,03510276 t_top_res b 53,6123428345 topo c1 -182,584899902 SAGA Result 1 c 15,1783676147 SAGA Result 2 d

[QGIS-Developer] How to retrieve all "virtual fields" of a layer?

2017-05-31 Thread Stefan Keller
Hi, In a Python plugin I want to retrieve information about all attributes/fields of a layer In the cookbook [1] it's described how to retrieve thems for field in layer.pendingFields(): print field.name(), field.typeName() => But how do I get all "virtual fields" programmatically?

Re: [QGIS-Developer] Building QGIS 2.18 on OSX

2017-05-31 Thread William Kyngesburye
Well, I build the OS X package. I recently upgraded to Sierra and it messed up my development setup. I had problems with QGIS also, but didn't want to spend time figuring it out (I need to build for older systems, and I was way behind on QGIS updates) so I used my other Mac that I kept at

Re: [QGIS-Developer] [Qgis-psc] [Qgis-developer] Are there plans to create a unique "Add layer" tool?

2017-05-31 Thread Alessandro Pasotti
Hi, final update: the development of what was in phase 1 is done. Actually, a bit more than phase 1 considering that we've redesigned the delimited text dialog GUI and I've done quite a bit of small refactorings of the providers selection dialogs interfaces. There has been a lot of feed-back,

[QGIS-Developer] SIP coverage test removal and Travis optimization

2017-05-31 Thread Denis Rouzaud
Dear all, Our automatic SIP files generation is almost there and I would like to remove the SIP coverage test from running on Travis. I think it is harmless since any change on a header will have a direct impact on the SIP file (or the SIP test will fail if one did not take care of updating the

Re: [QGIS-Developer] QGIS Plugin not in repository

2017-05-31 Thread Paolo Cavallini
Il 31/05/2017 12:56, Etienne Trimaille ha scritto: > Bonjour Sophie (since the university in Montpellier ;-) ) > > You should use a .gitignore file in your git repository with "*.pyc". It > will avoid having you to delete these files everytime. Hi, please note that a cleaner directory structure

Re: [QGIS-Developer] QGIS Plugin not in repository

2017-05-31 Thread Etienne Trimaille
Bonjour Sophie (since the university in Montpellier ;-) ) You should use a .gitignore file in your git repository with "*.pyc". It will avoid having you to delete these files everytime. Etienne 2017-05-31 18:12 GMT+08:00 Sophie Crommelinck : > Oh my mistake, I

[QGIS-Developer] dwg import 100% cpu?

2017-05-31 Thread Régis Haubourg
Hi all, I encounter troubles when trying to import a dwg to a new gpkg using the dwg import feature from project menu. I worked well in 2.18.2 and now I get a 100% cpu in 2.18.3 > 2.18.9. It could be related to that particular dwg file ( I can't share it here unfortunately) Did anyone

Re: [QGIS-Developer] QGIS Plugin not in repository

2017-05-31 Thread Sophie Crommelinck
Oh my mistake, I haven't seen that open issue. I solved it by deleting all .pyc files and closed the ticket. Best, Sophie On 31 May 2017 at 12:02, Paolo Cavallini wrote: > Hi Sphie, > > Il 31/05/2017 11:51, Sophie Crommelinck ha scritto: > > > about 3-4 weeks ago, I

Re: [QGIS-Developer] QGIS Plugin not in repository

2017-05-31 Thread Paolo Cavallini
Hi Sphie, Il 31/05/2017 11:51, Sophie Crommelinck ha scritto: > about 3-4 weeks ago, I uploaded a QGIS Plugin called BoundaryDelineation > to the QGIS Plugin Repository via http://plugins.qgis.org/plugins/add/ > . > > I haven't heard anything about its

[QGIS-Developer] QGIS Plugin not in repository

2017-05-31 Thread Sophie Crommelinck
Hello, about 3-4 weeks ago, I uploaded a QGIS Plugin called BoundaryDelineation to the QGIS Plugin Repository via http://plugins.qgis.org/plugins/add/. I haven't heard anything about its acceptance or refusal. I am not sure if this mailing list is the right place to ask: how can I find out more