[QGIS-Developer] PyQGIS - how to handle primary keys in geopackage

2018-03-27 Thread Alexandre Neto
My multipart split plugin (which I am porting to 3), It breaks multipart features and transforms each part in individual features, copying the attributes from the original feature. In the process, I need to be careful with the autoincrement primary keys. For PostGIS and Spatialite, asking for the

Re: [QGIS-Developer] GdalTools plugin issue

2018-03-27 Thread Andreas Neumann
Hi Jürgen, To be honest - I don't know anymore. I did not check before deletion. But I believe it contained regular .py and .pycs - just like any other plugin. Andreas On 27.03.2018 15:42, Jürgen E. Fischer wrote: Hi Andreas, On Tue, 27. Mar 2018 at 14:02:57 +0200, Andreas Neumann wrote:

Re: [QGIS-Developer] Build new plugin in QGIS 2 or QGIS 3?

2018-03-27 Thread Alex M
On 03/27/2018 09:01 AM, Phil Ribbens wrote: > Hi, > > Should I build a new plugin in QGIS 2 or 3? > > I've been tasked with building a new plugin, but given that QGIS 3 just came > out I’m not sure whether I should build it in QGIS 2 or 3. > > Basically, the plugin will: > 1) clip/extract a

[QGIS-Developer] Build new plugin in QGIS 2 or QGIS 3?

2018-03-27 Thread Phil Ribbens
Hi, Should I build a new plugin in QGIS 2 or 3? I've been tasked with building a new plugin, but given that QGIS 3 just came out I’m not sure whether I should build it in QGIS 2 or 3. Basically, the plugin will: 1) clip/extract a raster layer by a vector/polygon layer 2) combine that

[QGIS-Developer] QgsPrintLayout Setup from PyQGIS 3

2018-03-27 Thread Brian Libgober
I am interested in making reproducible PDF figures in QGIS3, and therefore want to work from the console/PyQGIS. Thanks to some previous helpful advice here , the problem is successfully reduced to setting up the

Re: [QGIS-Developer] GdalTools plugin issue

2018-03-27 Thread Jürgen E . Fischer
Hi Andreas, On Tue, 27. Mar 2018 at 14:02:57 +0200, Andreas Neumann wrote: > I had to manually remove the folder C:\Program > Files\OSGeo4W64\apps\qgis\python\plugins\GdalTools And that was empty or did contain .pycs or also other files? Jürgen -- Jürgen E. Fischer norBIT GmbH

[QGIS-Developer] Plugin [1410] ImportPhotos approval notification.

2018-03-27 Thread noreply
Plugin ImportPhotos approval by zimbogisgeek. The plugin version "[1410] ImportPhotos 1.0" is now approved Link: http://plugins.qgis.org/plugins/ImportPhotos/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:

[QGIS-Developer] Plugin [1410] ImportPhotos approval notification.

2018-03-27 Thread noreply
Plugin ImportPhotos approval by zimbogisgeek. The plugin version "[1410] ImportPhotos 0.6" is now approved Link: http://plugins.qgis.org/plugins/ImportPhotos/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:

Re: [QGIS-Developer] GdalTools plugin issue

2018-03-27 Thread DelazJ
Hi, Not GDALTools only; fTools folder was also left by installation when moving from 2.16 to 2.18. This has recenly been mentioned in http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-Is-the-apps-qgis-folder-cleared-before-installing-a-new-QGIS-version-in-osgeo4w-td5355924.html and has an older

Re: [QGIS-Developer] GdalTools plugin issue

2018-03-27 Thread Andreas Neumann
Hi Jürgen, I had to manually remove the folder C:\Program Files\OSGeo4W64\apps\qgis\python\plugins\GdalTools Seems like this plugin is obsolete in QGIS 3x, Processing took over. Thanks, Andreas On 2018-03-27 13:57, Jürgen E. Fischer wrote: > Hi Andreas, > > On Tue, 27. Mar 2018 at

Re: [QGIS-Developer] GdalTools plugin issue

2018-03-27 Thread Jürgen E . Fischer
Hi Andreas, On Tue, 27. Mar 2018 at 11:55:17 +0200, Andreas Neumann wrote: > It seems to be a leftover old version. Nyall told me that the GdalTools > plugin is obsolete and its functionality included in Processing. So it > can be removed manually. > However, for OSGeo4W I wonder if the OSGeo4W

Re: [QGIS-Developer] GdalTools plugin issue

2018-03-27 Thread João Gaspar
Seems a good idea because this kind of error can put the regular user think that the module is broken. João 2018-03-27 10:55 GMT+01:00 Andreas Neumann : > Hi, > > It seems to be a leftover old version. Nyall told me that the GdalTools > plugin is obsolete and its

Re: [QGIS-Developer] GdalTools plugin issue

2018-03-27 Thread Andreas Neumann
Hi, It seems to be a leftover old version. Nyall told me that the GdalTools plugin is obsolete and its functionality included in Processing. So it can be removed manually. However, for OSGeo4W I wonder if the OSGeo4W installer could handle this removal - Jürgen - what do you think? Thanks,

[QGIS-Developer] GdalTools plugin issue

2018-03-27 Thread Andreas Neumann
Hi, I noticed that many of my computers currently show an error on the core plugin "GdalTools" - it complains about metadata. Probably it just needs a small update in the metadata of the plugin? Do others have a similar issue? Thanks for your reply,

[QGIS-Developer] Pass a custom parameters at session level when connect to postgreSQL with QgsDataSourceURI

2018-03-27 Thread Yoann Lecomte
Hi every one, I'm developping a QGIS 2.18 plugin that works with a multiuser postgreSQL database. I need to create a connection with postgreSQL/Postgis and pass some custom parameters to the session (SET SESSION variable) to handle some row-level access (postgres 9.5 - Create policy). For