Re: [Qgis-user] How to set PyQGIS imported in VS Code in Windows for a Python file?

2023-03-13 Thread LI, Xin Stephen [MIT] via QGIS-User
Hi, Zoltan, Thanks so much for your help. It is quite helpful. After changing the last line to the directory with Code.exe, it works to open the VS code and can run the Example Python file in section 1.4.1 for the PyQGIS Cookbook (GQIS Testing). There are tow lines of information in the

[QGIS-it-user] QGIS-Server: problemi con Apache

2023-03-13 Thread Vittorio Emanuele Iervolino
Buongiorno a tutti. Seguendo la guida ufficiale per installare QGIS-Server 3.22 https://docs.qgis.org/3.22/it/docs/server_manual/getting_started.html#installation-on-debian-based-systems Installo senza problemi QGIS e QGIS-Server (ed Apache). Alla fine però quando vado a testare il sito:

Re: [Qgis-user] Qgis 3.22 composer : link a spatial extent (bookmark) to a map object?

2023-03-13 Thread Uwe via QGIS-User
Hello Laurent, in my opinion, it could be the best way to create a coverage layer (because you wrote you do not have one) for your 10 extents which can control your atlas. You could create the coverage features as envelopes (by processing toolbox) or using the extent values from the

[Qgis-user] Qgis 3.22 composer : link a spatial extent (bookmark) to a map object?

2023-03-13 Thread celati Laurent via QGIS-User
Good afternoon, With Qgis 3.22, I have to make ten maps (with layout/composer). Each of them have their own spatial extents. For each of these extents, I created geo-bookmarks via the main interface of Qgis. My wish is to be able now via the layout/composer interface, to link for each of these

Re: [Qgis-user] How to set PyQGIS imported in VS Code in Windows for a Python file?

2023-03-13 Thread Zoltan via QGIS-User
Hi Li I am responding because I had a similar experience using PyCharm so below _might_ be useful things for you to check whilst you are waiting for a more informed response: Firstly Google using QGIS is VS - there will be a lot of environment variables that will need to be set up. I start

Re: [Qgis-user] How to set PyQGIS imported in VS Code in Windows for a Python file?

2023-03-13 Thread PIERRE Sylvain via QGIS-User
Oops ! it’s in .env file and it looks like this for me : PATH=$PATH;"C:\Program Files\QGIS 3.16.16\bin\";"C:\Program Files\QGIS 3.16.16\apps\qgis\bin" PYTHONPATH="C:\Program Files\QGIS 3.16.16\apps\qgis\python" PYTHON_VERSION=Python39 [cid:image001.jpg@01D9558A.97F7D670] Sylvain PIERRE Chef de

Re: [Qgis-user] How to set PyQGIS imported in VS Code in Windows for a Python file?

2023-03-13 Thread PIERRE Sylvain via QGIS-User
Hi, Did you set these variable in env file in your user .vscode dir ? De : QGIS-User De la part de LI, Xin Stephen [MIT] via QGIS-User Envoyé : lundi 13 mars 2023 07:30 À : qgis-user@lists.osgeo.org Objet : [Qgis-user] How to set PyQGIS imported in VS Code in Windows for a Python file?

[Qgis-user] How to set PyQGIS imported in VS Code in Windows for a Python file?

2023-03-13 Thread LI, Xin Stephen [MIT] via QGIS-User
The OS is Windows 10, The QGIS version is 3.28 LTR The Python version is 3.11 The steps following the steps in stection 1.4.1 for the PyQGIS Cookbook (GQIS Testing), i.e. https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/intro.html#python-applications The "PAHT" and "PYTHONPYTHON"