Hi,
iface is only accessible via QGIS console. It's not available within
Jupyter. See the examples for standalone usage of PyQGIS to manipulate QGIS
project, create an UI
https://gist.github.com/ThomasG77/f711853e5fb81c746d2a1af0b2a9ecf5 and run
some PyQGIS things within Jupyter
https://gist.githu
Hi,
You may look at the configuration in the PostGIS connection config in QGIS
(see screenshot
https://labs.webgeodatavore.com/partage/postgis_connection_qgis_config.png).
Sometimes, you may set "prefer" or another conf among the drop down choices
visible on the screen capture to solve this type o