Re: [Qgis-user] QGIS Server: Parsing WFS capabilites with JavaScript

2023-10-31 Thread Alessandro Pasotti via QGIS-User
Why don't try OAPIF (aka WFS 3)? You get JSON directly. Il lun 30 ott 2023, 15:13 Jakob Miksch via QGIS-User < qgis-user@lists.osgeo.org> ha scritto: > Dear QGIS Server people, > > > > I have a QGIS Server running. I would like to access the WFS Capabilities > with JavaScript, more specifically

Re: [Qgis-user] QGIS Server - GetLegendGraphics request confusion

2023-10-17 Thread Alessandro Pasotti via QGIS-User
Hi, QGIS server actually accepts both requests: else if ( QSTR_COMPARE( req, "GetLegendGraphic" ) || QSTR_COMPARE( req, "GetLegendGraphics" ) ) On Mon, Oct 16, 2023 at 6:20 PM Jakob Miksch via QGIS-User < qgis-user@lists.osgeo.org> wrote: > Hi everyone! > > > > I have a QGIS Server running.

Re: [Qgis-user] Data Privacy

2023-10-12 Thread Alessandro Pasotti via QGIS-User
Hi, no information about your data will be shared with anyone. Here is the list of network calls that QGIS can make: https://docs.qgis.org/testing/en/docs/user_manual/appendices/qgis_desktop_network_connections.html As far as I know all of them can be disabled by configuration settings. Kind

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

2023-07-17 Thread 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

Re: [Qgis-user] WFS - Env variable QGIS_SERVER_API_WFS3_MAX_LIMIT not working

2023-02-14 Thread Alessandro Pasotti via QGIS-User
Hi, that variable is for OAPIF (AKA WFS3) only, it does not apply to plain old WFS. There is a bug in the manual, I'll fix that. It should read: QGIS_SERVER_API_WFS3_MAX_LIMIT Maximum value for limit in a OAPIF features request. On Tue, Feb 14, 2023 at 12:11 PM Tommaso via QGIS-User

Re: [Qgis-user] QGIS not installing properly

2023-02-09 Thread Alessandro Pasotti via QGIS-User
Garth, thank you for the valuable explanation. I am wondering if we (the QGS community) should put this information somewhere to make it easily findable. We are currently in the process of redesigning the QGIS website (which includes links to the downloads for various operating systems).

Re: [Qgis-user] Qgis Server: how to log database queries

2023-02-03 Thread Alessandro Pasotti via QGIS-User
No, there is no (easy) way to log the SQL in QGIS server. You may try with a server plugin that uses the new debugging panel query logger but I'm not sure if that will work (I didn't try). Kind regards. On Fri, Feb 3, 2023 at 5:38 PM Tommaso via QGIS-User wrote: > > Hello, > my WFS service -

Re: [Qgis-user] PostGIS raster layer filtered by attribute

2022-11-09 Thread Alessandro Pasotti via Qgis-user
Please CC @elpaso when you file the bug, I'll assign it to me. On Tue, Nov 8, 2022 at 8:36 PM Thayer Young wrote: > > Hi Dirk, > > I have not seen a bug report for this yet. Would you like me to issue one? > > I was able to reproduce that the provider for views of raster tables did work > in

Re: [Qgis-user] PostGIS raster layer filtered by attribute

2022-11-04 Thread Alessandro Pasotti via Qgis-user
On Fri, Nov 4, 2022 at 12:18 PM wrote: > > Thanks to Thayer and Alesandro. > I made a lot of tests today. Not all is working, but it's on a good way. > > I did not see the "Filter" option on the raster layer in QGIS 3.22 because I > searched in the layer properties analog to where the filter is

Re: [Qgis-user] PostGIS raster layer filtered by attribute

2022-11-03 Thread Alessandro Pasotti via Qgis-user
Right click on the raster in the legend and choose "Filter..." On Thu, Nov 3, 2022 at 2:58 PM Thayer Young via Qgis-user wrote: > > Hi Dirk, > > I have looked into this and found no easy solution. As you have noticed there > is no "Provider Feature Filter" in the Source tab of the layer

Re: [Qgis-user] SQL Logging in the debugging/development panel - SpatiaLite

2022-10-11 Thread Alessandro Pasotti via Qgis-user
Hi, Johannes, can you please file a bug report? On Tue, Oct 11, 2022 at 4:30 PM Johannes Echterhoff via Qgis-user wrote: > > Hello, > > > > Today I tried the SQL logging in the debugging/development panel (a feature > introduced through QEP >

Re: [Qgis-user] PR review needed

2022-09-28 Thread Alessandro Pasotti via Qgis-user
Yes, I know pip install is quite a barrier, I've been using this plugin for years and never used the standard console again. I guess this is more a personal project than a plugin for a wider audience. I'm glad that you've found it useful. Regards. On Wed, Sep 28, 2022 at 8:59 AM Johannes

Re: [Qgis-user] PR review needed

2022-09-27 Thread Alessandro Pasotti via Qgis-user
You may want to check this out (Works For Me (TM)): https://plugins.qgis.org/plugins/IPyConsole/ autocompletion and other IPython features works just fine. On Tue, Sep 27, 2022 at 4:37 PM Johannes Kröger (WhereGroup) via Qgis-user < qgis-user@lists.osgeo.org> wrote: > > jedi autocompletion >

Re: [Qgis-user] QGIS-Server: missing tags in GetFeatureInfo-Response

2022-09-16 Thread Alessandro Pasotti via Qgis-user
On Fri, Sep 16, 2022 at 3:13 PM Inka Tauber via Qgis-user wrote: > > Hello, > > QGIS Server GFI HTML response starts and ends with the HEAD tag. Some parts, > that are necessary to form a complete HTML (DOCTYPE, HTML tag) are missing. > This may be useful, if the receiving application already

Re: [Qgis-user] Using QGIS Server python API from system's default Python

2022-09-09 Thread Alessandro Pasotti via Qgis-user
Probably not the answer you are looking for but I strongly recommend you to use Linux for development and deployment (a virtual machine will work just fine): it will make your developer life much easier. We (https://github.com/g3w-suite/g3w-admin) have a Django-based application with QGIS API

Re: [Qgis-user] Two different raster calculators in QGIS and negative value handling - any explanation?

2022-09-08 Thread Alessandro Pasotti via Qgis-user
On Wed, Sep 7, 2022 at 11:43 AM Michael Dufty via Qgis-user wrote: > > It appears that there are two different native raster calculator tools in QGIS > > One is found in at the top of the raster menu > > The other is in the processing toolbox in the raster analysis group > Yeah, we know it's a

Re: [Qgis-user] QGIS Server and Active Directory

2022-08-30 Thread Alessandro Pasotti via Qgis-user
Hi, not out of the box, but you might be able to develop a Python server plugin to implement custom authorization/authentication for the server. A few examples are available here: https://github.com/elpaso/qgis3-server-vagrant/tree/master/resources/web/plugins see httpbasic for example. On

Re: [Qgis-user] Troubles with Join of two layers

2022-03-16 Thread Alessandro Pasotti via Qgis-user
Just guessing, maybe it doesn't like a table name that starts with a digit. On Wed, Mar 16, 2022 at 9:20 AM Roland Spielhofer via Qgis-user < qgis-user@lists.osgeo.org> wrote: > Hi, > I am trying to join two layers using the DB Manager. > One layer is a shape file, one is a pure attribute table

Re: [Qgis-user] Hello, new to QGIS

2022-03-09 Thread Alessandro Pasotti via Qgis-user
Hi, you have several options: you can store the QGIS project on a remote postgres DB and provided that the layer's data is also stored in a remote accessible DB you should be ready to go. If the data are stored on disk, you'll have to transfer them to the server in order to have them accessible