Re: [Qgis-user] QGIS Server Performance Tips

2024-09-09 Thread Gerald Kogler via QGIS-User
In my experience Nginx with systemd is the most efficient install method. Mapproxy works well but I don't have any performance comparison to Varnish or Geowebcache. Also have in mind combining/grouping layers in your cache if you don't need them separated in order to avoid http requests. On

Re: [Qgis-user] QGIS Server Performance Tips

2024-09-09 Thread Abel Gonzalez via QGIS-User
I am using Geowebcache for caching WMS layers and works ok. BR/ Abel Den mån 9 sep. 2024 17:20Jakob Miksch via QGIS-User < qgis-user@lists.osgeo.org> skrev: > Hi everyone, > > I would like to the extend the documentation of QGIS Server by adding some > tips and best practices on how to improve th

[Qgis-user] QGIS Server Performance Tips

2024-09-09 Thread Jakob Miksch via QGIS-User
Hi everyone, I would like to the extend the documentation of QGIS Server by adding some tips and best practices on how to improve the performance. Especially for WMS. What I learned already: * for WMS: try different image formats like PNG8, JPEG or WebP * use a Cache like MapProxy or Varnish

Re: [Qgis-user] QGIS Server and PostgreSQL projects

2024-09-07 Thread User Adminoff via QGIS-User
Hi Alessandro, This is an interesting feature, but am I see right that it doesn't have any access rights restrictions? Alessandro Pasotti wrote: Another possibility: https://docs.qgis.org/3.34/en/docs/server_manual/catalog.html You will need co configure an env variable: QGIS_SERVER_LAN

Re: [Qgis-user] QGIS Server and PostgreSQL projects

2024-09-07 Thread User Adminoff via QGIS-User
Hi Jorge, Thank you for your reply, I saw the solution with Apache rewrite rule, but I'm currently on nginx and was looking for a way to have it without additional rewrites. Still, if this is the only possible way now to have projects from database to be served on QGIS Server, I will try it a

Re: [Qgis-user] QGIS Server and PostgreSQL projects

2024-09-06 Thread Abel Gonzalez via QGIS-User
But as I understand Landing pages only works for Linux? Best regards! Abel Den fre 6 sep. 2024 16:35Alessandro Pasotti skrev: > > Another possibility: > https://docs.qgis.org/3.34/en/docs/server_manual/catalog.html > > You will need co configure an env variable: > QGIS_SERVER_LANDING_PAGE_PROJE

Re: [Qgis-user] QGIS Server and PostgreSQL projects

2024-09-06 Thread Alessandro Pasotti via QGIS-User
Another possibility: https://docs.qgis.org/3.34/en/docs/server_manual/catalog.html You will need co configure an env variable: QGIS_SERVER_LANDING_PAGE_PROJECTS_PG_CONNECTIONS all projects stored in the connections above will be listed in the catalog. On Fri, Sep 6, 2024 at 4:26 PM Abel Gonzale

Re: [Qgis-user] QGIS Server and PostgreSQL projects

2024-09-06 Thread Abel Gonzalez via QGIS-User
Hi! I just installed QGIS server on my windows server under Apache HTTPD and postgres in the sabe server and works fine. There after if you want to show the qgis projects on a map you should install QGIS Web Client or Lizmap. In order to serve WMS, WFS , etc qgis project should no be saved on post

Re: [Qgis-user] QGIS Server and PostgreSQL projects

2024-09-06 Thread Jorge Gustavo Rocha via QGIS-User
Hi, It is possible and works pretty well. I do it with dozens of QGIS projects. I use a rewrite rule in Apache to point to the project on the database. Check our this can be done is this comment: https://github.com/qgis/QGIS/issues/31192#issuecomment-756105179 Best regards, Jorge On 06/09/2

[Qgis-user] QGIS Server and PostgreSQL projects

2024-09-06 Thread User Adminofff via QGIS-User
Hi, I'm trying to make QGIS Server to serve projects from PostgreSQL database on the web. Could anyone tell me please, is it possible to do that, or I can serve only files? The general workflow should look like this: 1. Operators with QGIS Desktop are connecting to PostgreSQL, and create/mo

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

2023-11-07 Thread Jakob Miksch via QGIS-User
ag von Jakob Miksch via QGIS-User Gesendet: Tuesday, October 31, 2023 12:07:09 PM An: Aguilar Bolivar, Rosa (UT-ITC) ; Jorge Gustavo Rocha ; qgis-user@lists.osgeo.org Betreff: Re: [Qgis-user] QGIS Server: Parsing WFS capabilites with JavaScript SECURITY WARNING: This email is from an external sourc

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

2023-10-31 Thread Jakob Miksch via QGIS-User
t;> On Behalf Of Jorge Gustavo Rocha via QGIS-User Sent: Monday, October 30, 2023 8:36 PM To: qgis-user@lists.osgeo.org<mailto:qgis-user@lists.osgeo.org> Subject: Re: [Qgis-user] QGIS Server: Parsing WFS capabilites with JavaScript Hi Jakob, You can try jsonix. I use something like: va

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

2023-10-31 Thread Jakob Miksch via QGIS-User
Good idea, but I cannot use OAF in my setup, because of this Issue: https://github.com/qgis/QGIS/issues/53367 Jakob Miksch Consultant +49 170 9036956 siticom.online From: Alessandro Pasotti Sent: Tuesday, October 31, 2023 7:45 AM To: Jakob Miksch Cc: qgis-user Subject: Re: [Qgis-user] QGIS

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

2023-10-30 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 I

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

2023-10-30 Thread Aguilar Bolivar, Rosa (UT-ITC) via QGIS-User
nt-Exupéry From: QGIS-User On Behalf Of Jorge Gustavo Rocha via QGIS-User Sent: Monday, October 30, 2023 8:36 PM To: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] QGIS Server: Parsing WFS capabilites with JavaScript Hi Jakob, You can try jsonix. I use something like: var Jsonix = require

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

2023-10-30 Thread Jorge Gustavo Rocha via QGIS-User
Hi Jakob, You can try jsonix. I use something like: var Jsonix = require('jsonix').Jsonix; var XLink_1_0 = require('w3c-schemas').XLink_1_0; var OWS_1_0_0 = require('ogc-schemas').OWS_1_0_0; var OWS_1_1_0 = require('ogc-schemas').OWS_1_1_0; var WFS_1_0_0 = require('ogc-schemas').WFS_1_0_0; var W

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

2023-10-30 Thread Jakob Miksch via QGIS-User
Dear QGIS Server people, I have a QGIS Server running. I would like to access the WFS Capabilities with JavaScript, more specifically I would like to know which WFS layers are published by QGIS Server. Unfortunately, QGIS Server only supports WFS 1.0.0 and 1.1.0. But the only parser for WFS cap

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

2023-10-17 Thread Jakob Miksch via QGIS-User
t regards, Jakob Jakob Miksch Consultant +49 170 9036956 siticom.online Von: Etienne Trimaille Gesendet: Dienstag, 17. Oktober 2023 10:07 An: Alessandro Pasotti Cc: Jakob Miksch ; qgis-user@lists.osgeo.org Betreff: Re: [Qgis-user] QGIS Server - GetLegendGraphics request confusion SECURITY WARNIN

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

2023-10-17 Thread Etienne Trimaille via QGIS-User
Hi, The documentation was updated a few months ago to follow the OGC specifications. https://docs.qgis.org/3.28/en/docs/server_manual/services/wms.html#getlegendgraphics versus https://docs.qgis.org/testing/en/docs/server_manual/services/wms.html#getlegendgraphic Le mar. 17 oct. 2023 à 09:27, Ale

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] QGIS Server - GetLegendGraphics request confusion

2023-10-16 Thread Jakob Miksch via QGIS-User
Hi everyone! I have a QGIS Server running. Requesting the legend of a layer works fine as explained in the docs: 3.2. Web Map Service (WMS) - QGIS Documentation documentation However, I noticed that in QGIS Ser

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 proj

[Qgis-user] QGIS Server: programmatic configuration

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

Re: [Qgis-user] QGIS-server: strange slowness if outside extent

2023-05-22 Thread Richard Duivenvoorde via QGIS-User
Mmm, looks to have something to do with the GPKG format. If I create shp and use it, there is no slowness... First thought that it has something to do with the read/write permissions in the mounted /etc/qgisserver volumen... but that did not help too (note, trying out to run this in a kuberne

[Qgis-user] QGIS-server: strange slowness if outside extent

2023-05-22 Thread Richard Duivenvoorde via QGIS-User
Having a QGIS-container servicing a very simple country file with labels (EPSG:28992). All is super responsive < 150ms as long as I stay within the bbox of the country... As soon as I zoom out further, the response time goes up to 3 -4 seconds... QGIS_CATCH_SEGV=1 QGIS_SERVER_LOG_LEVEL=0 there

Re: [Qgis-user] Qgis server / lizmap : error message

2023-05-12 Thread celati Laurent via QGIS-User
Hello, Problem fix. According to me, the problem came from the postgis spatial filter enabled within my qgis project : https://plugins.qgis.org/plugins/spatial_filter/ https://github.com/WhereGroup/spatial_filter Le jeu. 11 mai 2023 à 16:38, celati Laurent a écrit : > Hello, > I make sever

[Qgis-user] Qgis server / lizmap : error message

2023-05-11 Thread celati Laurent via QGIS-User
Hello, I make several tests with qgis server ans lizmap. For one of your qgis projects, i obtain an error message. im' taking the liberty to share those messages. FYI, i work with debian, apache and postgis tables data : *QGIS SERVER : * 16:21:54 INFO Server[853909]: SERVER_NAME: -..f

Re: [Qgis-user] Qgis-server bullseye (stable) and sid (unstable) give blank (white) page on GetMap for all test sites

2023-05-08 Thread Mats Bjerin via QGIS-User
I finally found the solution: For any map, to get a visual image, the type of image must be specified in the URL to the server with e.g. FORMAT=image/jpeg For the osm.qgs example map from the documentation, I must specify LAYERS=OSM for any data to be returned. For the world.qgs project, only the

[Qgis-user] Qgis-server bullseye (stable) and sid (unstable) give blank (white) page on GetMap for all test sites

2023-05-07 Thread Mats Bjerin via QGIS-User
Hi, I am trying to use a docker image of qgis-server as defined in the official documentation chapter “8. Containerized deployment”. https://lists.osgeo.org/mailman/options/qgis-user I have added the required nginx server and I can run the GetCapabilities test successfully: http://localhost:808

Re: [Qgis-user] Qgis server : problem with qgis server logs

2023-05-04 Thread Antonio Viscomi via QGIS-User
Great! Il gio 4 mag 2023, 14:33 celati Laurent ha scritto: > Thanks a lot. It 's works well now. > > Le jeu. 4 mai 2023 à 11:37, Etienne Trimaille a > écrit : > >> According to the QGIS documentation : >> https://docs.qgis.org/3.28/en/docs/server_manual/config.html#environment-variables >> >> Q

Re: [Qgis-user] Qgis server : problem with qgis server logs

2023-05-04 Thread celati Laurent via QGIS-User
Thanks a lot. It 's works well now. Le jeu. 4 mai 2023 à 11:37, Etienne Trimaille a écrit : > According to the QGIS documentation : > https://docs.qgis.org/3.28/en/docs/server_manual/config.html#environment-variables > > QGIS_SERVER_LOG_FILE is deprecated and will be removed, in favor of > QGIS_

Re: [Qgis-user] Qgis server : problem with qgis server logs

2023-05-04 Thread Antonio Viscomi via QGIS-User
if you have none response from previous url, please check your apache virtual host is setted like this: *ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ AllowOverride NoneOptions +ExecCGI -MultiViews -SymLinksIfOwnerMatch Require all granted FcgidMaxRequestLen 26214400 Fcgi

Re: [Qgis-user] Qgis server : problem with qgis server logs

2023-05-04 Thread Antonio Viscomi via QGIS-User
Hi Laurent, If you go to http://YOURhost/cgi-bin/qgis_mapserv.fcgi It's qgis server active? Il gio 4 mag 2023, 10:36 celati Laurent ha scritto: > Hi, > Thanks and sorry to disturb you again. I tried to create manually the file > qgislog.log in /var/log/qgis. > Then i set chown www-data /var/l

Re: [Qgis-user] Qgis server : problem with qgis server logs

2023-05-04 Thread celati Laurent via QGIS-User
Hi, Thanks and sorry to disturb you again. I tried to create manually the file qgislog.log in /var/log/qgis. Then i set chown www-data /var/log/qgis/qgislog.log and sudo chmod 775 /var/log/qgis/qgislog.log I reloaded and restarted apache. But the file qgislog.log is and remains empty. I don't know

Re: [Qgis-user] Qgis server : problem with qgis server logs

2023-05-03 Thread Etienne Trimaille via QGIS-User
Hi, It's still possible to use QGIS_SERVER_LOG_FILE, but it's deprecated, you can see it in the documentation https://docs.qgis.org/3.28/en/docs/server_manual/config.html#environment-variables QGIS_SERVER_LOG_STDERR will send logs to stderr. Le mer. 3 mai 2023 à 23:53, Antonio Viscomi via QGIS-

Re: [Qgis-user] Qgis server : problem with qgis server logs

2023-05-03 Thread Antonio Viscomi via QGIS-User
Laurent, Please, try to create the file 'qgislog.log' manually first If doesn't works I don't know why Il mer 3 mag 2023, 18:18 celati Laurent ha scritto: > Hello, > Thanks. As you advice, i set FcgidInitialEnv QGIS_SERVER_LOG_FILE > /var/log/qgis/qgislog.log > Then i set chown www-data /var/log

Re: [Qgis-user] Qgis server : problem with qgis server logs

2023-05-03 Thread celati Laurent via QGIS-User
Hello, Thanks. As you advice, i set FcgidInitialEnv QGIS_SERVER_LOG_FILE /var/log/qgis/qgislog.log Then i set chown www-data /var/log/qgis and sudo chmod 775 /var/log/qgis Then a2ensite XXX.XXX.fr Then i have reload apache systemctl reload apache2 But still no qgislog file has been created. Le m

[Qgis-user] Qgis server : problem with qgis server logs

2023-05-03 Thread celati Laurent via QGIS-User
Good afternoon, I work with Debian, Apache. Qgis server 3.30. And lizmap. The lizmap log deals with a problem regarding my qgis server logs. In the /etc/apache2/sites-available i have created a file XXX.XXX.conf with ths part of content : # QGIS log FcgidInitialEnv QGIS_SERVER_LOG_STDERR 1

Re: [Qgis-user] QGIS server : Serve Postgis data ?

2023-03-28 Thread Christoph Jung via QGIS-User
Hi, Did you stored the username and password for connecting the Postgres-DB in an authentication configuration? And did you provide an environment variable with the path to a file containing the master password within? If not, please have a look into the really good and complete documentation a

Re: [Qgis-user] QGIS server : Serve Postgis data ?

2023-03-27 Thread chris hermansen via QGIS-User
Laurent and list, On Mon, Mar 27, 2023, 09:09 celati Laurent via QGIS-User < qgis-user@lists.osgeo.org> wrote: > Good afternoon, > Following to my previous message, I'm sharing my error. I am unable to > serve a project containing postgis tables. For a first test, I'm just > trying to serve one o

Re: [Qgis-user] QGIS server : Serve Postgis data ?

2023-03-27 Thread celati Laurent via QGIS-User
Good afternoon, Following to my previous message, I'm sharing my error. I am unable to serve a project containing postgis tables. For a first test, I'm just trying to serve one of the tables contained in my project. Here is the URL that I defined and tested. I tried to define max and min coordinate

[Qgis-user] Qgis server : install QWC2 and Lizmap on the same server?

2023-03-27 Thread celati Laurent via QGIS-User
0 Dear all, I succeed in installing qgis server on our Debian server. Before starting on the installation and documentation of QWC2 and Lizmap, we would have been interested in a small comparison of these two solutions. In a test perspective,

[Qgis-user] QGIS server : Serve Postgis data ?

2023-03-27 Thread celati Laurent via QGIS-User
Good morning, I have just (finally) validated the installation of Qgis server on our Debian server. I manage to serve/broadcast the .qgs project and the data made available by the community (world.qgs project). These are shp files. In parallel with the installation of Lizmap or QWC2, I would like t

Re: [Qgis-user] Qgis server : install on Linux Debian

2023-03-26 Thread celati Laurent via QGIS-User
-available# a2ensite >>> ERROR: Site XX does not exist! >>> >>> Then. After a restart of Apache. I get this error message : >>> root@XXXXX:/etc/apache2/sites-available# curl >>> .fr/cgi-bin/qgis_mapserv.fcgi >>> Project file error >>

Re: [Qgis-user] Qgis server : install on Linux Debian

2023-03-26 Thread Andrea Giudiceandrea via QGIS-User
Il 26/03/2023 23:47, celati Laurent ha scritto: And when i enter : / / http://SERVER/cgi-bin/qgis_mapserv.fcgi SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities I obtain : | |This XML file does not appear to have any style information associated wi

Re: [Qgis-user] Qgis server : install on Linux Debian

2023-03-26 Thread celati Laurent via QGIS-User
elpaso/qgis3-server-vagrant, >>> >>> Also a docker container image at: >>> https://github.com/elpaso/qgis-server-docker. >>> >>> Perhaps you could use this material as a starting point. >>> >>> Hope this helps. >>> >>> >&g

Re: [Qgis-user] Qgis server : install on Linux Debian

2023-03-23 Thread Jorge Gustavo Rocha via QGIS-User
t via QGIS-User *Sent:* Wednesday, March 15, 2023 4:23 PM *To:* qgis-user *Subject:* [Qgis-user] Qgis server : install on Linux Debian Good afternnon, I want to install Qgis server on my Linux Debian server virtual .For now, it's not working

Re: [Qgis-user] Qgis server : install on Linux Debian

2023-03-23 Thread celati Laurent via QGIS-User
> >> Hope this helps. >> >> >> >> Best, >> >> >> >> Rosa >> >> >> >> - >> >> Dr. Rosa Aguilar >> >> University of Twente >> >> Faculty of Geoinformation Science and Earth Observation &

Re: [Qgis-user] Qgis server : install on Linux Debian

2023-03-17 Thread Andrea Giudiceandrea via QGIS-User
celati Laurent laurent.celati at gmail.com Fri Mar 17 05:08:56 PDT 2023 I confirm to you that i installed the server thanks to a `apt install qgis-server` command. *root at xx:/etc/apache2/sites-available# dpkg -s qgis-serverPackage: qgis-serverStatus: install ok installedPriority: optio

Re: [Qgis-user] Qgis server : install on Linux Debian

2023-03-17 Thread celati Laurent via QGIS-User
_US> > > https://rosaguilar.github.io > > - > > The essential is invisible to the eye. Saint-Exupéry > > > > *From:* QGIS-User *On Behalf Of *celati > Laurent via QGIS-User > *Sent:* Wednesday, March 15, 20

Re: [Qgis-user] Qgis server : install on Linux Debian

2023-03-15 Thread Aguilar Bolivar, Rosa (UT-ITC) via QGIS-User
github.io/> - The essential is invisible to the eye. Saint-Exupéry From: QGIS-User On Behalf Of celati Laurent via QGIS-User Sent: Wednesday, March 15, 2023 4:23 PM To: qgis-user Subject: [Qgis-user] Qgis server : install on Linux Debian Good afternnon, I want to

Re: [Qgis-user] Qgis server : install on Linux Debian

2023-03-15 Thread Andrea Giudiceandrea via QGIS-User
celati Laurent laurent.celati at gmail.com Wed Mar 15 08:23:10 PDT 2023 The version seems to be qgis 3.10 (and not 3.22). Hi Laurent, the QGIS version installed depends on your Debian OS version and on the package repository used to install QGIS. What Debian version are you using? What rep

Re: [Qgis-user] Qgis server : install on Linux Debian

2023-03-15 Thread Tomas Pospisek via QGIS-User
On 15.03.23 16:23, celati Laurent via QGIS-User wrote: Good afternnon, I want to install Qgis server on my Linux Debian server virtual .For now, it's not working. FYI, I already have a working apache server and used for geoserver and geonetwork. I followed the Qgis server doc/tutorial: https

[Qgis-user] Qgis server : install on Linux Debian

2023-03-15 Thread celati Laurent via QGIS-User
Good afternnon, I want to install Qgis server on my Linux Debian server virtual .For now, it's not working. FYI, I already have a working apache server and used for geoserver and geonetwork. I followed the Qgis server doc/tutorial: https://docs.qgis.org/3.22/en/docs/training_manual/qgis_server/in

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 - b

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

2023-02-03 Thread Tommaso via QGIS-User
Hello, my WFS service - based on docker-qgis-server/ 3.28.0 (the camptocamp image) - is not returning all features I expect, when I use a spatial query. To debug the problem, I would like to see the queries, which Qgis send to the database. But it seems that the maximal log level is INFO, w

Re: [Qgis-user] QGIS Server error log - Solved

2023-02-01 Thread Schmidt Christian via QGIS-User
Hi Thomas, Habe das gleiche Problem mit Python, exakt gleiche Fehlermeldung im Log von QGIS-Server. Was ich nicht ganz verstehe, ist wie Du das Problem lösen konntest. was the additional(!) installation of the corresponding qgis package from the OSGeo4W installer. Welches Package meinst Du denn

Re: [Qgis-user] Qgis Server: Configuring max number of WFS features served by the server

2023-01-19 Thread Tom via QGIS-User
Hello Gerald, thank you! I set the variable and I see in the log file the following message "15:41:27 INFO Server[93]: - QGIS_SERVER_API_WFS3_MAX_LIMIT / '/qgis/server_api_wfs3_max_limit' (Maximum value for "limit" in a features request, defaults to 1): '1000' (read from ENVIRONMENT_VARIA

Re: [Qgis-user] Qgis Server: Configuring max number of WFS features served by the server

2023-01-17 Thread Gerald Kogler via QGIS-User
Hi Tom, I think QGIS_SERVER_API_WFS3_MAX_LIMIT is what you are looking for: https://docs.qgis.org/3.22/en/docs/server_manual/config.html#environment-variables For sure you always can limit it also from the request using MAXFEATURES, which is a standard OGC WFS parameter: https://docs.qgis.or

[Qgis-user] Qgis Server: Configuring max number of WFS features served by the server

2023-01-17 Thread Tom via QGIS-User
Hello, I want to limit the number of WFS features serve by Qgis Server. In Geoserver one can configure this in "Maximum number of features" There is such a option in Qgis Server? Best regards, Tommaso___ QGIS-User mailing list QGIS-User@lists.osge

Re: [Qgis-user] Qgis server hardware specifications

2022-12-12 Thread jhubbslist--- via QGIS-User
Do you have Linux expertise in-house? I ask because if so, you can set up and run QGIS Server on a Linux system and hit it from web browsers instead of using Remote Desktop. Also, consider if that's what you really want to do versus give a bunch of QGIS users - each running QGIS locally on thei

[Qgis-user] Qgis server hardware specifications

2022-12-12 Thread Kevin via QGIS-User
Dear Qgis list members,   I would like to ask some questions regarding using Qgis on a terminal server which runs Windows Server 2019.   Does Qgis run on Windows Server 2019? What are the hardware specifications for Qgis that runs on a Windows Server 2019?   Kind regards,   Kevin Keilich

Re: [Qgis-user] QGIS-Server How to avoid unique data check in postgis for each session

2022-11-16 Thread Amedeo Fadini via Qgis-user
Thank-you very much Jurgen, it works. I found that in the .qgs file it an attribute "estimatedmetadata=true" on ayer-tree-layer and datsource element. Wonder if checkPrimaryKeyUnicity='1' on the same elements does mean anything... Amedeo Il giorno mer 16 nov 2022 alle ore 15:00 Jürgen E. Fischer

Re: [Qgis-user] QGIS-Server How to avoid unique data check in postgis for each session

2022-11-16 Thread Jürgen E . Fischer via Qgis-user
Hi Amedeo, On Wed, 16. Nov 2022 at 14:18:57 +0100, Amedeo Fadini via Qgis-user wrote: > SELECT count(distinct ("id","field1"))=count(("id","field1")) FROM > "public"."mytable" Check "use estimated table metadata" in the connection before adding the layer. Jürgen -- Jürgen E. Fischer

[Qgis-user] QGIS-Server How to avoid unique data check in postgis for each session

2022-11-16 Thread Amedeo Fadini via Qgis-user
Hi everybody, My question should be addressed to developers, but I have too many lists, hope someone reads here too. For the italian cadastre reference point publication [1]I have a large, postgis table (~1,7 milions rows across Italy) partitioned over an attribute list, so the Primary key is on tw

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

2022-10-04 Thread Inka Tauber via Qgis-user
[mailto:apaso...@gmail.com] Gesendet: Freitag, 16. September 2022 15:17 An: (LUNG GUE, 120-1) Tauber, I. Cc: qgis-user Betreff: Re: [Qgis-user] QGIS-Server: missing tags in GetFeatureInfo-Response On Fri, Sep 16, 2022 at 3:13 PM Inka Tauber via Qgis-user wrote: > > Hello, > > QGIS Ser

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

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

2022-09-16 Thread Inka Tauber via Qgis-user
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 creates the outer HTML frame. But sometimes complete HTML or XML responses a

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

2022-08-30 Thread Christoph Jung via Qgis-user
Thank you for the advice, Alessandro. I will have a look on it. > Am 30.08.2022 um 11:45 schrieb Alessandro Pasotti : > > 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

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 Tue

[Qgis-user] QGIS Server and Active Directory

2022-08-30 Thread Christoph Jung via Qgis-user
Hello everyone, Does anybody have experience with the authorisation of web services published by the QGIS Server, especially using AD users/groups? Is it possible to create services that are usable without further action for some authorised users and all other users cannot consume this services

[Qgis-user] QGIS Server Cache Strategy

2022-08-01 Thread Michael Hälsig via Qgis-user
Hi, I am using QGIS Server 3.26.1 on Debian Bullseye. In the log I find the message 'WARNING Server[23950]: Invalid cache strategy, expecting 'filesystem', 'periodic' or 'off'.' I could ignore this (only warning) - but I would like to know how to set the cache strategy. What means cache strateg

Re: [Qgis-user] QGIS Server install

2022-04-22 Thread Aguilar Bolivar, Rosa (UT-ITC) via Qgis-user
This a nice example, from Alessandro, one of the core devs of qgis server https://github.com/elpaso/qgis-server-docker Hth Rosa On Apr 22, 2022 3:24 PM, Nicolas Boisteault via Qgis-user wrote: Hi, I suggest you to try Docker with docker-composer. Here is an example : https://github.com/3l

Re: [Qgis-user] QGIS Server install

2022-04-22 Thread Nicolas Boisteault via Qgis-user
Hi, I suggest you to try Docker with docker-composer. Here is an example : https://github.com/3liz/lizmap-docker-compose/blob/master/docker-compose.yml Le 21/04/2022 à 02:26, Silvia Vitorino Pereira via Qgis-user a écrit : Hi everybody, I'm completely new with QGis Server. To install it on

[Qgis-user] QGIS Server install

2022-04-20 Thread Silvia Vitorino Pereira via Qgis-user
Hi everybody, I'm completely new with QGis Server. To install it on my Win10 Pro, I followed the steps in , paing attention to install the same desktop and server versions (QGIS 3.22-6). But when I tr

[Qgis-user] [QGIS-Server] Possible to use multiple FILTER or EXP_FILTER relatives to multiple TYPENAME?

2022-01-17 Thread Nicolas Boisteault
Hi all, If I execute : http://DOMAIN/?MAP=mymap&SERVICE=WFS&REQUEST=GetFeature&VERSION=1.0.0&OUTPUTFORMAT=GeoJSON&TYPENAME=data_integers&EXP_FILTER="id"=2 or http://DOMAIN/?MAP=mymap&SERVICE=WFS&REQUEST=GetFeature&VERSION=1.0.0&OUTPUTFORMAT=GeoJSON&TYPENAME=data_trad_en_fr&EXP_FILTER="id"=4 R

Re: [Qgis-user] qgis-server minimal qgs project file?

2021-12-13 Thread Alessandro Pasotti
Hi, I'm afraid there is no such information anywhere. We have done some optimization a few months ago that allow to skip the parsing of some parts that are not relevant to the server when loading a project, see: https://github.com/qgis/QGIS/pull/40418 https://github.com/qgis/QGIS/pull/40360 Kin

[Qgis-user] qgis-server minimal qgs project file?

2021-12-12 Thread U.Archi
Hi list! I want to dynamically create qgs xml project files for qgis server. Creating a template from a qgis desktop project works fine, but the qgs xml is quite large with what seems to me a lot of settings related to qgis desktop. I checked the qgis-server docs, but I can't find any hints

Re: [Qgis-user] QGIS server in professional use?

2021-10-18 Thread DelazJ
Hi Mats, all Just to let you know that some of the unclear/confusing statements in the docs you pointed out in an earlier message have been addressed. The updated version is available at https://github.com/qgis/QGIS-Documentation/blob/master/docs/server_manual/getting_started.rst and will be pushe

Re: [Qgis-user] QGIS server in professional use?

2021-10-18 Thread Mats Elfström
Nyall, and QGIS fellow users and friends! No one is born with knowledge, but everyone can learn. Which is what I am trying hard here. I humbly asked for user collaboration, and took great care in explaining what I have done, and what I am aiming at. (see also the thread "*Configuring QGIS server o

Re: [Qgis-user] QGIS server in professional use?

2021-10-18 Thread Nyall Dawson
On Mon, 18 Oct 2021 at 17:23, Mats Elfström wrote: > > I am not too happy if I have to start over on a new machine. With all due respect, what do you expect as the outcome of this discussion? You're complaining about software you obtained for free! If you're looking for commercial SUPPORT for QG

Re: [Qgis-user] QGIS server in professional use?

2021-10-18 Thread Mats Elfström
Hi Richard! I agree, those steps should do it. I tried to carefully follow the instructions (as I have been told to do) on this page. https://docs.qgis.org/3.16/en/docs/server_manual/getting_started.html#installation-on-debian-based-systems which differs considerably from your instructions. Are the

Re: [Qgis-user] QGIS server in professional use?

2021-10-17 Thread Richard Greenwood
Posting again without screenshot, which apparently caused my previous email to await moderator approval. Mats, I fired up a new Ubuntu 20.04 instance on AWS and did the following 5 steps which got me an XML capabilities document. # standard practice when starting a new instance sudo apt update &

Re: [Qgis-user] QGIS server in professional use?

2021-10-17 Thread Saulteau Don
I haven't had major issues getting a QGIS map server deployed on apache, but sometimes there would be a thing or two not included in the step-by-step because individual setups can be different and also require a diverse level of knowledge and skill sets. Consider that to get it going you likely ha

Re: [Qgis-user] QGIS server in professional use?

2021-10-17 Thread Paolo Cavallini
Quite strange. We have tens of installations, never a failure. Maybe you can get some support? Cheers. Il 17 ottobre 2021 10:44:11 EEST, "giskraft.se" ha scritto: >Trust me, Paolo, I would very much more like to be the harbinger of >success and confidence in QGIS Server. >But in 5-6 years, ”fol

Re: [Qgis-user] QGIS server in professional use?

2021-10-17 Thread giskraft . se
Trust me, Paolo, I would very much more like to be the harbinger of success and confidence in QGIS Server. But in 5-6 years, ”following the instructions carefully” has never worked. Once or twice, I have succeeded after much trial an error, on Windows machines. Linux was supposed to be better.

Re: [Qgis-user] QGIS server in professional use?

2021-10-16 Thread Paolo Cavallini
Please do not spread FUD. We have tens of instances running smoothly. Just follow carefully the instructions on a clean machine, and it will work. Thanks. Il 17 ottobre 2021 00:53:58 EEST, "Mats Elfström" ha scritto: >Hi! >Thanks to Jorge and Benoit for trying to assist with missing >informatio

Re: [Qgis-user] QGIS server in professional use?

2021-10-16 Thread Mats Elfström
Hi! Thanks to Jorge and Benoit for trying to assist with missing information. I have attempted to include the suggested code snippets into my virtual host file, and am at least able to start Apache2 now (there were errors I had to figure out). I am not too happy about the resulting mix. *Conclusio

Re: [Qgis-user] QGIS server in professional use?

2021-10-08 Thread Mats Elfström
Many thanks, Jorge. That was very decent of you. Now I will see if I can braid those snippets into my server configuration. I will report back later. Best regards, Mats.E -- *GisKraft*, Geodatakonsult Mats Elfström, Marsvinsholms stationsväg 80, 271 93 Ystad, Sweden tel: +46 70 595 39 35 / www

Re: [Qgis-user] QGIS server in professional use?

2021-10-08 Thread Paolo Cavallini
we also have many installation. in general following the instructions in the manual works well, what is your problem? cheers. Il 08/10/21 12:50, Jorge Gustavo Rocha ha scritto: > Hi Mats, > > I have QGIS Server running under Apache in several public institutions. > My apache2/conf-available files

Re: [Qgis-user] QGIS server in professional use?

2021-10-08 Thread Jorge Gustavo Rocha
Hi Mats, I have QGIS Server running under Apache in several public institutions. My apache2/conf-available files are attached. It runs pretty well under Apache. Regards, Jorge Gustavo On 08/10/21 11:25, Mats Elfström wrote: > Hi? > Is anybody using, or know of someplace where QGIS Server is us

[Qgis-user] QGIS server in professional use?

2021-10-08 Thread Mats Elfström
Hi? Is anybody using, or know of someplace where QGIS Server is used in a professional and public service, using Apache as web server? I would be immensively and eternally grateful if anybody in a position to do so would share the secrets of the Apache setup and configuration to act as web server t

Re: [Qgis-user] QGIS Server Log Stderr

2021-07-07 Thread pathmapper
Hi Thomas, You received the STDERR log on Ubuntu not Windows, right? Yes, that's right. I'm having ErrorLog ${APACHE_LOG_DIR}/error.log set also in my QGIS server vHost.conf not in my httpd.conf. Does this makes a difference to you? Otherwise I would also I stick with QGIS_SERVER_LOG_FILE f

Re: [Qgis-user] QGIS Server Log Stderr

2021-07-06 Thread Thomas Schüttenberg
Hi Björn, thanks for investigating, but no, I still don't get this. With ErrorLog "${STACK}/logs/error.log" in httpd.conf (plus LogLevel info to make sure there will be something to log) and FcgidInitialEnv QGIS_SERVER_LOG_STDERR 1 plus FcgidInitialEnv QGIS_SERVER_LOG_LEVEL 0 in the QGIS server

Re: [Qgis-user] QGIS Server Log Stderr

2021-07-04 Thread pathmapper
Hmm, with QGIS_SERVER_LOG_STDERR 1 it works as long as I use the standard ErrorLog ${APACHE_LOG_DIR}/error.log But if I change it to ErrorLog ${APACHE_LOG_DIR}/qgisserver.log a file ${APACHE_LOG_DIR}/qgisserver.log is created but the QGIS server logs are still saved in ${APACHE_LOG_DIR}/erro

Re: [Qgis-user] QGIS Server Log Stderr

2021-07-02 Thread thomas
Hi Björn, Am 02.07.21 um 10:58 schrieb pathmapper: Hi Thomas, is QGIS_SERVER_LOG_FILE still set in your conf? Asking because QGIS_SERVER_LOG_STDERR has no effect when QGIS_SERVER_LOG_FILE is set. Maybe doublecheck that you restarted Apache after these changes :) Sure, quadruple checked all

Re: [Qgis-user] QGIS Server Log Stderr

2021-07-02 Thread pathmapper
Hi Thomas, is QGIS_SERVER_LOG_FILE still set in your conf? Asking because QGIS_SERVER_LOG_STDERR has no effect when QGIS_SERVER_LOG_FILE is set. Maybe doublecheck that you restarted Apache after these changes :) With QGIS server 3.18.1 on Ubuntu LTR it's working as expected. Cheers, Bjoern

[Qgis-user] QGIS Server Log Stderr

2021-07-01 Thread Thomas Schüttenberg
Hi there! Because file logging support with QGIS_SERVER_LOG_FILE is deprecated since QGIS 3.4. I just tried to switch to QGIS_SERVER_LOG_STDERR 1 as described in the manual[1]. Nevertheless the standard error log file I defined in my Apache configuration stays silent (Loglevel 0). So either I

Re: [Qgis-user] QGIS Server, Lizmap / OpenLayer, QGIS2Web

2021-06-30 Thread Alessandro Pasotti
On Wed, Jun 30, 2021 at 4:11 PM Gerald Kogler wrote: > Hi, > > qgis2web exports a static version of your QGIS project to web using > OpenLayers or Leaflet as webmap technologies. It gives you some options > on export, furthermore you could take the exported code and customize it > furthermore. It

Re: [Qgis-user] QGIS Server, Lizmap / OpenLayer, QGIS2Web

2021-06-30 Thread Gerald Kogler
Hi, qgis2web exports a static version of your QGIS project to web using OpenLayers or Leaflet as webmap technologies. It gives you some options on export, furthermore you could take the exported code and customize it furthermore. It produces pure HTML+JS+CSS so you could host it on any server. On

  1   2   3   4   5   6   >