Re: [QGIS-Developer] Another QGIS 2 to 3 API Change - How to Adapt

2017-05-12 Thread Luigi Pirelli
Some example directly from the qgis source code, https://qgis.org/api/qgssymbol_8cpp_source.html#l01304 generally speaking, in this transitional phase, the source code is the preferred documentation. regards Luigi Pirelli

Re: [QGIS-Developer] How has QgsRubberBand changed in QGIS 3?

2017-05-12 Thread Luigi Pirelli
https://qgis.org/api/api_break.html QGis = Qgis Luigi Pirelli ** * Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com * LinkedIn: https://www.linkedin.com/in/luigipirelli *

Re: [QGIS-Developer] QGIS PyQt version conflict

2017-05-12 Thread lesgeotrucs
Hi, With pyuic4, there is a retranslate function. What about the internationalization with this approach ? Regards, -- View this message in context: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-QGIS-PyQt-version-conflict-tp5320159p5320386.html Sent from the QGIS - Developer mailing

[QGIS-Developer] How has QgsRubberBand changed in QGIS 3?

2017-05-12 Thread C Hamilton
In my plugin I have the following line: self.crossRb = QgsRubberBand(self.canvas, QGis.Line) QGis seems to have been removed from qgis.core. What needs to be done differently for QGIS 3? I'm error by error trying to migrate Lat Lon Tools to QGIS 3. Thanks!!!

[QGIS-Developer] Plugin [730] Line direction histogram approval notification.

2017-05-12 Thread noreply
Plugin Line direction histogram approval by pcav. The plugin version "[730] Line direction histogram 2.0" is now approved Link: http://plugins.qgis.org/plugins/LineDirectionHistogram/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List

Re: [QGIS-Developer] Converting plugins to QGIS 3

2017-05-12 Thread C Hamilton
With the OSGeo4W installer I see that 2to3 is located at C:\OSGeo4W64\apps\Python36\Tools\scripts\2to3.py It made some changes but does not seem to migrate PyQt4 to PyQt5. What am I doing wrong? I just tried running this on one of my files in this manner from the OSGeo4W Shell. python

[QGIS-Developer] Call for tests on attribute table

2017-05-12 Thread Alessandro Pasotti
Hi, we've been working on fixing a few bugs on the attribute table for 2.18 and master: https://issues.qgis.org/issues/16492 https://issues.qgis.org/issues/15803 https://issues.qgis.org/issues/15974 The patches should land soon in the latest builds of master and 2.18.x If anybody could test

Re: [QGIS-Developer] Remaining "blocking" operations

2017-05-12 Thread Marco Bernasocchi
On 12.05.2017 12:29, Matthias Kuhn  wrote: > > Having to click out of a bazillion connection dialogs when a PG server > is not available. I wonder if there's anyone else who regularly is > affected by this. Heck yeah... -- Marco Bernasocchi OPENGIS.ch - berna.io - 27summits.ch

Re: [QGIS-Developer] Remaining "blocking" operations

2017-05-12 Thread Paolo Cavallini
Il 12/05/2017 12:29, Matthias Kuhn  ha scritto: > Having to click out of a bazillion connection dialogs when a PG server > is not available. I wonder if there's anyone else who regularly is > affected by this. +1 thanks -- Paolo Cavallini - www.faunalia.eu QGIS & PostGIS courses:

[QGIS-Developer] PyQGIS: how to retrieve symbolLayers in renderPass order

2017-05-12 Thread Tom Chadwin
Hello all I need to get a list of symbolLayers, but in renderPass order. In other words, in default order if symbol levels are not enabled, or in symbol level order if they are. Can I do that via the API, or do I just have to retrieve the renderPass value for every symbolLayer and then sort the

Re: [QGIS-Developer] Remaining "blocking" operations

2017-05-12 Thread Matthias Kuhn 
Hi Nyall, Loving it, this makes QGIS so much more pleasant to use. One thing that is not related technologically but the thing the most often freaks me out: Having to click out of a bazillion connection dialogs when a PG server is not available. I wonder if there's anyone else who regularly is

Re: [QGIS-Developer] Remaining "blocking" operations

2017-05-12 Thread Giovanni Manghi
Hi Nyall, > Hi all, > > With a recent PR merge by Matthias, another one of the remaining > interface blocking operations is gone and moved to task manager. This > means that task manager is now being used for: > - saving vector/raster layers > - importing data to browser destinations via drag

[QGIS-Developer] Plugin [740] qgis2web approval notification.

2017-05-12 Thread noreply
Plugin qgis2web approval by pcav. The plugin version "[740] qgis2web 2.17.1" is now approved Link: http://plugins.qgis.org/plugins/qgis2web/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:

Re: [QGIS-Developer] multi-layered pdf, attribute support in pdf outputs

2017-05-12 Thread Neumann, Andreas
Hi Hilpers, I'll explain why this isn't so easy to solve - even with GDAL. QGIS has a very rich set of symbology and labeling options. For PDF generation it relies on the qt libraries - which did not support attributes and layered PDFs so far - at least in version 4 that QGIS used so far. I

Re: [QGIS-Developer] QGIS PyQt version conflict

2017-05-12 Thread Michal Zimmermann
Hey gus, thanks for the tips, I'll give it a try! On Fri, May 12, 2017 at 9:36 AM, Ismail Sunni wrote: > Hi, I (or we) also use the same method as Arnaud. > > The only drawback is you can’t get the autocomplete from the python file > (from the ui file). But the benefit is

Re: [QGIS-Developer] QGIS PyQt version conflict

2017-05-12 Thread Ismail Sunni
Hi, I (or we) also use the same method as Arnaud. The only drawback is you can’t get the autocomplete from the python file (from the ui file). But the benefit is greater: no need to ship generated python code, no need to compile every time we change the .ui file. The development is faster now.

[QGIS-Developer] Support for "segments" in the QgsGeometryAnalyzer buffer function

2017-05-12 Thread Havard Tveite
Dear QGIS developers, Giovanni Manghi encouraged me to raise this in the dev list. The QgsGeometry buffer function has two parameters: distance (double) and segments (int). "distance" is used to specify the buffer distance. "segments" is used to specify the number of straight line segments used

[QGIS-Developer] multi-layered pdf, attribute support in pdf outputs

2017-05-12 Thread hilpers
Hello everyone, i am wondering whether it is going to be possible to generate multi-layered pdfs using print composer anytime soon. While GDAL supports that QGIS does not seem to do so yet. For making maps available to the public it would be practival to implement layer attributes within pdf