[QGIS-Developer] Reload python library used by plugin

2024-05-16 Thread Gerald Kogler via QGIS-Developer
The fantastic Plugin Reloader doesn't reload loaded libraries as documented here (https://github.com/borysiasty/plugin_reloader/issues/37). So when I change code in a library used by a QGIS plugin the only way I know to reload this library is to restart QGIS. To make it clear: I'm not

[QGIS-Developer] QGIS Server ignores custom layer legend properties

2022-12-02 Thread Gerald Kogler via QGIS-Developer
Good morning everybody, I managed to get rid of the Band name and invert the order in a raster layer legend in QGIS using a custom pyqgis [1] The problem is that the changes don't show up on QGIS Server GetLegendGraphic request. Is customproperties option "legend/node-order" something QGIS

[QGIS-Developer] Python modules shipped with QGIS

2022-08-23 Thread Gerald Kogler via QGIS-Developer
Hi! Sorry for repeating this question if it was asked lately, but I don't find anything in the archives. Where do I find the list of python modules (including there versions) shipped with QGIS on different operating systems? I'm developing a QGIS plugin and get some error messages like 'No

Re: [QGIS-Developer] Is there a recommended way to include external Python packages

2022-07-21 Thread Gerald Kogler via QGIS-Developer
 it. It is not ideal to have users pip install the library, but you have to weigh the costs vs. the benefits of using some library. Good luck! On Thu, Jul 21, 2022 at 1:19 PM Gerald Kogler via QGIS-Developer mailto:qgis-developer@lists.osgeo.org>> wrote: I'm actually developing a QGIS

[QGIS-Developer] Is there a recommended way to include external Python packages

2022-07-21 Thread Gerald Kogler via QGIS-Developer
I'm actually developing a QGIS plugin which depends on pysftp package to upload files to a server. For now I thought on asking users to install it manually, but it would be great to automatize the installation process. So the options I see would be: 1. Install external package using pip from

Re: [QGIS-Developer] Server manual

2020-04-26 Thread Gerald Kogler
rci Vincent! > > Il 21/04/20 18:05, Vincent Picavet (ml) ha scritto: >> Hi all, >> >> On 21/04/2020 18:03, Paolo Cavallini wrote: >>> >>> >>> Il 21/04/20 17:41, Gerald Kogler ha scritto: >>>> © 2020 Oslandia. >>>> >>

Re: [QGIS-Developer] Server manual

2020-04-21 Thread Gerald Kogler
© 2020 Oslandia. Maybe I should ask them to donate this post to QGIS Documentation? Or better to make a short resume and link to their post? On 21/4/20 17:25, Paolo Cavallini wrote: > > > Il 21/04/20 17:14, Gerald Kogler ha scritto: >> Great Paolo, I'll add a pull request w

Re: [QGIS-Developer] Server manual

2020-04-21 Thread Gerald Kogler
? I don't see any hints about the common approach in the Documentation Guidelines. Thanks On 21/4/20 13:45, Paolo Cavallini wrote: > Hi Gerald, > I also thought about this, I think it would be useful. > Would you mind adding a pull request for it? > Cheers. > > Il 21/04/20 13

Re: [QGIS-Developer] Server manual

2020-04-21 Thread Gerald Kogler
Would it be worth to also mention systemd as described here? https://oslandia.com/en/2018/11/23/deploying-qgis-server-with-systemd/ I use this approach in production and it works nice. On 21/4/20 8:14, Etienne Trimaille wrote: > Le lun. 20 avr. 2020 à 21:43, Régis Haubourg

Re: [QGIS-Developer] Save layer metadata to global datasource

2019-07-22 Thread Gerald Kogler
ald > > Thank you for your email. > >> On 28 Jun 2019, at 16:30, Gerald Kogler > <mailto:gera...@servus.at>> wrote: >> >> Hi ppl, >> >> Layer metadata currently is saved either as a .qmd file on disk or as a >> record in the users persona

[QGIS-Developer] Save layer metadata to global datasource

2019-06-28 Thread Gerald Kogler
Hi ppl, Layer metadata currently is saved either as a .qmd file on disk or as a record in the users personal "qgis.qmldb" (tbl_metadata). We now have the problem that metadata gets lost when using a Postgis layer by a different user/user profile. So we miss the option to save the metadata

[QGIS-Developer] QGIS Server 3: change on queryable groups?

2018-07-09 Thread Gerald Kogler
Hi devs, I recently migrated from QGIS Server 2 to 3 (a big thanks to all the devs!) and I noticed one change with queryable parameters which means quite a lot of work to migrate my projects: In QGIS Server 2 layer groups had the "queryable" parameter showing up on GetCapabilities request. That

Re: [QGIS-Developer] Read QgsProject properties

2018-02-15 Thread Gerald Kogler
QgsProject.nonIdentifiableLayers() does the trick, so I think it's save to say that every tag in project .qgs can be accessed through the API On 14/02/18 22:49, Gerald Kogler wrote: > 2.18 > > thanks > Gerald > > On 14/02/18 02:06, Gerald Kogler wrote: >> 2.x >&g

Re: [QGIS-Developer] Read QgsProject properties

2018-02-14 Thread Gerald Kogler
2.18 thanks Gerald On 14/02/18 02:06, Gerald Kogler wrote: > 2.x > > On 14/02/18 00:47, Nyall Dawson wrote: >> On 14 February 2018 at 08:51, Gerald Kogler <gera...@servus.at> wrote: >>> Hi, >>> >>> I'm doing my first explorations into pyqgis and

Re: [QGIS-Developer] Read QgsProject properties

2018-02-13 Thread Gerald Kogler
2.x On 14/02/18 00:47, Nyall Dawson wrote: > On 14 February 2018 at 08:51, Gerald Kogler <gera...@servus.at> wrote: >> Hi, >> >> I'm doing my first explorations into pyqgis and I'm quite amazed, >> compliments for the design of the QGIS API! >> >> So f

[QGIS-Developer] Read QgsProject properties

2018-02-13 Thread Gerald Kogler
Hi, I'm doing my first explorations into pyqgis and I'm quite amazed, compliments for the design of the QGIS API! So far I recursively read layer groups and layers from QgsProject and write a json file which I then use to build a layer switcher for Openlayers. Now I need to add additional