Re: [QGIS-Developer] Catch PostgreSQL logs in pyqgis

2024-03-05 Thread Matteo Ghetta via QGIS-Developer
panel itself has a signal you can connect to as a hacky workaround. Cheers, Hannes On 04.03.24 17:54, Matteo Ghetta via QGIS-Developer wrote: Hi devs, I'm looking for a way in pyqgis to catch the (raw) queries that QGIS is sending to the PostgreSQL provider when a table is edited: for example

[QGIS-Developer] Catch PostgreSQL logs in pyqgis

2024-03-04 Thread Matteo Ghetta via QGIS-Developer
Hi devs, I'm looking for a way in pyqgis to catch the (raw) queries that QGIS is sending to the PostgreSQL provider when a table is edited: for example the raw "INSERT ... INTO ...", "UPDATE ...". Basically what the Development Panel is listing when enabled. Is there a way in pyqgis?

[QGIS-Developer] Split feature after dissolve

2023-08-08 Thread Matteo Ghetta via QGIS-Developer
Hi devs, maybe a silly question, but after a dissolve of a line layer, when using the split feature function to split the layer, instead of splitting in 2 parts, the tool is splitting in n parts (where n = 113). Apparently the parts are randomly located. It doesn't matter if the layer is

Re: [QGIS-Developer] DWG/DXF QGIS on Linux/Debian

2023-07-13 Thread Matteo Ghetta via QGIS-Developer
Hi Matteo, did you import via drag-and-drop from the Browser or did you use use the dedicated Project ► Import/Export ► Import Layers from DWG/DXF tool? Best Stefan Am 13.07.2023 um 09:10 schrieb Matteo Ghetta via QGIS-Developer: Hi all, I'm on a Debian testin

[QGIS-Developer] DWG/DXF QGIS on Linux/Debian

2023-07-13 Thread Matteo Ghetta via QGIS-Developer
Hi all, I'm on a Debian testing fresh machine and with both QGIS 3.28 from package and master compiled I cannot import DWG/DXF. This is the error I get: Drawing import failed (unsupported version. Cannot read AutoCAD 2018/2019/2020 documents.) I don't remember if there is a procedure on