Re: [QGIS-Developer] Time for db manager to become an "opt-in" plugin?

2022-08-09 Thread SIGéal via QGIS-Developer
Great job ! It gave me the opportunity to discover some nice new functionalities added since QGIS 3.16. Thanks, -- Christophe Damour Le 08/08/2022 à 12:52, Alexandre Neto via QGIS-Developer a écrit : The link...

Re: [QGIS-Developer] Time for db manager to become an "opt-in" plugin?

2022-07-10 Thread SIGéal via QGIS-Developer
Hello, I fully support that -1 I submitted a feature request some weeks ago to suggest that Explorer SQL functionalities should work on a non modal way : https://github.com/qgis/QGIS/issues/49091 -- Christophe Damour Le 10/07/2022 à 03:02, Alexandre Neto via QGIS-Developer a écrit : Hello

Re: [QGIS-Developer] Time for db manager to become an "opt-in" plugin?

2022-06-23 Thread SIGéal via QGIS-Developer
Hi, +1 for improving QGIS UI consistency ! I recently posted a feature request about "Update SQL Layer" dialog which IMHO should be non modal : https://github.com/qgis/QGIS/issues/49091 Reading this discussion, I tested further browser functionnalities and came to the conclusion that

Re: [QGIS-Developer] [Qgis-user] QGIS freezes for minutes when updated SpatiaLite SQL Layer

2022-03-22 Thread SIGéal via QGIS-Developer
 : It probably also has something to do with the query you are using. Can you please create a ticket? Preferably with some sample data and project and explaining the steps to reproduce the problem. Thanks Alexandre Neto A terça, 22/03/2022, 09:24, SIGéal via Qgis-user escreveu: Hi list, QGIS

[QGIS-Developer] QGIS freezes for minutes when updated SpatiaLite SQL Layer

2022-03-22 Thread SIGéal via QGIS-Developer
Hi list, QGIS 3.22/3.24 freezes with hourglass for about 2 minutes when I click on close button of Update SQL Layer dialog, even if I didn't modify the query. If I click on Execute button, I get this error : "an error occurred while opening GPKG dbname=..." This happens with a big database

Re: [QGIS-Developer] Can't open postgrest geojson service

2022-02-15 Thread SIGéal
, but adding |Accept: application/json| header makes it work. (using --config GDAL_HTTP_HEADER_FILE) -- Christophe Damour Le 11/02/2022 à 14:27, SIGéal a écrit : Hi, I have a PostgreSql stored procedure which returns a geojson feature collection created with json_build_object function. This web

[QGIS-Developer] Can't open postgrest geojson service

2022-02-11 Thread SIGéal
Hi, I have a PostgreSql stored procedure which returns a geojson feature collection created with json_build_object function. This web service opens fine in OpenLayers, however, when I try to open it in QGIS, with data source manager -> vector -> protocol -> geojson :

[QGIS-Developer] Wrong legend for datadefined size points layer with pyQgis

2019-02-14 Thread SIGéal
Hi, I am trying to generate a proportional symbol symbology using data defined symbol size in a QGIS 3 python plugin. Here is the working code : # Symbol creation symbolLayer = QgsSimpleMarkerSymbolLayer() symbolLayer.setShape(QgsSimpleMarkerSymbolLayer.Circle) symbolLayer.setSize(2.0)

Re: [QGIS-Developer] Wrong legend for datadefined size points layer with pyQgis

2019-02-14 Thread SIGéal
Hi, I am trying to generate a proportional symbol symbology using data defined symbol size in a QGIS 3 python plugin. Here is the working code : # Symbol creation symbolLayer = QgsSimpleMarkerSymbolLayer() symbolLayer.setShape(QgsSimpleMarkerSymbolLayer.Circle) symbolLayer.setSize(2.0)

[QGIS-Developer] Python error when browsing virtual layers in DB Manager

2018-11-08 Thread SIGéal
Hi, There is a bug in QGIS 3.4 which prevents from browsing virtual layers in DB Manager. Changing line 196 in \QGIS 3.4\apps\qgis\python\plugins\db_manager\db_plugins\vlayers\connectors.py from : for _, l in QgsProject.instance().mapLayers(): to (what it was in QGIS 3.2) : for _, l in

Re: [QGIS-Developer] Set text of QgsLayoutItemLabel

2018-03-17 Thread SIGéal
Hi, This thread might help you to find a workaround : https://gis.stackexchange.com/questions/241213/how-to-get-a-composer-label-by-id-with-python-in-qgis -- Christophe Le 16/03/2018 à 16:56, KOHLMANN Hannes a écrit : Hello! I am facing difficulties trying to set the text of a  

Re: [QGIS-Developer] Group stats plugin from 2to3

2018-02-28 Thread SIGéal
Hi, A look at this might help : https://gis.stackexchange.com/questions/260125/make-qgis-python-plugin-for-both-versions-2-x-and-3-x -- Christophe Le 28/02/2018 à 12:31, Sylvain POULAIN a écrit : Hi, I tried to migrate from plugins in Qgis 2 to Qgis 3. I took the usefull group stats plugin

Re: [QGIS-Developer] QGIS 3 itemById should return subclassed item

2018-02-12 Thread SIGéal
: QGIS-Developer [qgis-developer-boun...@lists.osgeo.org] on behalf of Nyall Dawson [nyall.daw...@gmail.com] Sent: 13 February 2018 10:36 To: SIGéal Cc: qgis-developer Subject: Re: [QGIS-Developer] QGIS 3 itemById should return subclassed item On 13 February 2018 at 05:51, SIGéal <

[QGIS-Developer] QGIS 3 itemById should return subclassed item

2018-02-12 Thread SIGéal
to the following issue : https://issues.qgis.org/issues/17152 The following workaround still works : https://github.com/inasafe/inasafe/blob/develop/safe/report/processors/default.py#L54 Can this be corrected in QGIS 3.0 ? -- Christophe Le 28/11/2017 à 14:45, SIGéal a écrit : print(lblTitle) gives

Re: [QGIS-Developer] QGIS 2.99 weekly snapshot 64 bits

2018-01-30 Thread SIGéal
Thank you for the answer. I am in the process of migrating plugins. I'll try OSGeo4W installer. -- Christophe Le 30/01/2018 à 10:53, Jürgen E. Fischer a écrit : Hi Christophe, On Tue, 30. Jan 2018 at 10:22:05 +0100, SIGéal wrote: It seems that QGIS 2.99 weekly snapshot is only available

[QGIS-Developer] QGIS 2.99 weekly snapshot 64 bits

2018-01-30 Thread SIGéal
Hi, It seems that QGIS 2.99 weekly snapshot is only available in 32 bits version. Does anyone know why the 64 bits version isn't available anymore ? -- Christophe ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:

Re: [QGIS-Developer] QGIS 3 getComposerItemById should return subclassed item

2017-11-28 Thread SIGéal
print(lblTitle) gives "0x029B1435FC18>" as suggested the error message. -- Christophe Le 28/11/2017 à 14:25, SIGéal a écrit : Weird : lblTitle.type() returns "65639"... -- Christophe Le 28/11/2017 à 11:47, Matthias Kuhn a écrit : I guess there's a problem with the

Re: [QGIS-Developer] QGIS 3 getComposerItemById should return subclassed item

2017-11-28 Thread SIGéal
ld be nice to know if it's a bug in QGIS. Etienne 2017-11-28 11:06 GMT+01:00 SIGéal <sig...@sigeal.com <mailto:sig...@sigeal.com>>: Hi devs, This code used to work in QGIS 2.x. |lblTitle =myComposition.getComposerItemById('title')|||lblTitle|.setText('New Title')|

[QGIS-Developer] QGIS 3 getComposerItemById should return subclassed item

2017-11-28 Thread SIGéal
Hi devs, This code used to work in QGIS 2.x. |lblTitle =myComposition.getComposerItemById('title')|||lblTitle|.setText('New Title')| |However, it doesn't anymore in QGIS |2.99. Instead it returns this error : |'QgsComposerItem' object has no attribute 'setText'||| -- Christophe