Re: [Qgis-user] doubts about the azimuth value obtained

2023-07-17 Per discussione Thayer Young via QGIS-User
map. Since the polygons analysed have four sides. Can you help me? Thank you very much. [image: image.png] -- next part -- An HTML attachment was scrubbed... URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20230717/e84d6be0/attachment.htm>

Re: [Qgis-user] QGIS Server: programmatic configuration

2023-07-17 Per discussione Alessandro Pasotti via QGIS-User
On Mon, Jul 17, 2023 at 3:03 PM Jakob Miksch via QGIS-User < qgis-user@lists.osgeo.org> wrote: > Hello everyone, > > > > To my knowledge it is only possible to change a QGIS server project via > the QGIS desktop GUI. However, I would like to dynamically add or remove > layers in a QGIS server

[Qgis-user] QGIS Server: programmatic configuration

2023-07-17 Per discussione Jakob Miksch via QGIS-User
Hello everyone, To my knowledge it is only possible to change a QGIS server project via the QGIS desktop GUI. However, I would like to dynamically add or remove layers in a QGIS server project. Is there or has there been any approach to accomplish this? My spontaneous idea is to use pyQGIS to

[QGIS-it-user] Salvataggio variabili di progetto

2023-07-17 Per discussione Giulio Fattori
Buongiorno, ho la necessità di creare una variabile di progetto e salvarci dei valori, questo codice che mi permette di farlo: ProjectInstance = QgsProject.instance() myValue = {'test1': 1, 'test2': 'due'} # set Variable QgsExpressionContextUtils.setProjectVariable(     ProjectInstance,