Questions tagged [qgis-server]

A standard-compliant WMS 1.3 server that can be easily configured using QGIS Desktop project files

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

QGIS server doesn't detect plugins or Lizmap Webapp doesn't detect its plugin

I am currently setting up a qgis server with lizmap on ubuntu-server 20.04.4, only that, on the lizmap webapps server information tab, it says "QGIS Server returns an HTTP error about the Lizmap ...
user avatar
0 votes
0 answers
46 views

QGIS-Server - getPrint does not work if project contains external layer

I want to create a pdf with a get-print request. My project contains layer which are imported from another server via WFS. With this imported layer my request does not work with Format set to pdf but ...
user avatar
  • 21
2 votes
0 answers
93 views

How to setup QGIS Server plugins on Windows?

I want to setup a QGIS-Server with plugins on Windows10. I installed QGIS-Server, QGIS-Desktop and XAMPP as the Apache-Server. I downloaded the HelloServer Plugin, unziped it and put it in my plugins ...
user avatar
  • 21
2 votes
0 answers
31 views

Retrieve and use query params inside a QGIS server project file

I have a QGIS project hosted using the camptocamp/qgis-server docker image. Everything goes fine. But I would like to retrieve (and use inside the QGIS project itself) some of the query parameters ...
user avatar
  • 6,748
1 vote
0 answers
29 views

Is it possible to "copy" one layer from WMS and create another WMS only with this layer automatically?

I'm using Lizmap and QGIS to create WMS service with multiple layers. Now I need to find a way to create WMS containing only one layer that the 'main' WMS contains. Is there any way to do it without ...
user avatar
1 vote
0 answers
19 views

Qgis server error while getprint attlas template containing layer from sql server?

I instaled qgis servere 3.22.5 on windows with xampp apache every thing is ok when i request atlas that have a shapefile layer it done correclty but if the layer is linked from sql server i got error ...
user avatar
2 votes
2 answers
78 views

QGIS Server: Activate the WMTS Capabilities & WMS Extent using pyQGIS

I am on the last step of creating a WMS Project using pyQGIS. I would like to access the WMTS Capabilities and select all the existing layers as long as using the current canvas Extent for the ...
user avatar
0 votes
1 answer
124 views

QWC2 Docker - Can we serve SQL Server, Geopackage and shapefile data?

Whenever my projects have local shapefile data, Geopackage or SQL Server data I get an error in creating the configuration and/or the files are not recognized in the Add Resources section of the admin ...
user avatar
  • 7,552
1 vote
0 answers
42 views

Load QGIS Server (qgs) fed WFS/WMS data and new qgs project files into OWC2

The new docker-based project - https://github.com/qwc-services/qwc-docker is great. When I try to load a WMS/WFS service from QGIS Server, I get no response. http://xxx:8015/cgi-bin/qgis_mapserv.fcgi....
user avatar
  • 7,552
1 vote
1 answer
64 views

Start error on QWC2 - QGIS Web Client

I have followed the instructions in https://github.com/qgis/qwc2-demo-app/blob/master/doc/QWC2_Documentation.md#quick-start When try >>yarn start I get an error on ELIFECYCLE as below I have ...
user avatar
  • 7,552
1 vote
1 answer
31 views

Top extra layer tree entry is blank in my QGIS Server WMS drop down menu

I have set up a QGIS server using apache on Windows and have added some test data, but compared to other WMS layers added from other organisations, there appears to be an extra layer to my layers tree ...
user avatar
0 votes
1 answer
35 views

QGIS Server in HTTPS, redirecting HTTP

We have testing the set-up of a QGIS Server on a web-server in HTTPS. The GetCapabilities of the WFS service can be obtained with a HTTPS query, which works well and answer with the layers that we ...
user avatar
  • 159
1 vote
0 answers
55 views

QWC2 Problems with Performance [closed]

We have installed the QWC2 on a win server. The own geodata are in a PG database and the WMS for the QWC2 is generated by QGis-Server. So far everything works, but we have significant performance ...
user avatar
  • 11
0 votes
0 answers
29 views

attribute data load indefinetely in lizmap (ERROR: Opening of authentication db FAILED)

I have been using lizmap in localhost and now I want to have lizmap and QGIS server remotely. I have installed QGIS server 3.16 and lizmap 3.5.0 on Ubuntu 18 on a distant machine and QGIS desktop 3.16 ...
user avatar
0 votes
1 answer
43 views

How to enable more Conformance Classes of the OGC API - Features in QGIS Server?

Follow up on this thread: How to properly filter items using a CQL expression on a GET /wfs3/collections/{collectionId}/items? endpoint is it possible to allow more Conformance Classes, e.g. those ...
user avatar
  • 6,748
0 votes
0 answers
62 views

How to properly filter items using a CQL expression on a GET /wfs3/collections/{collectionId}/items? endpoint

I'm trying to filter items at a WFS3 GET endpoint served by a QGIS Server project (single layer - single PostGIS table) using the OGC Common Query Language. While this is working perfectly fine, ...
user avatar
  • 6,748
2 votes
0 answers
76 views

How does QGIS "Update SQL layer" in Server mode

I have a QGIS 3.22 project with a single vector layer coming from a PostGIS (PG:14-3.2) database. When I right click on the layer in the table of content > "Update SQL layer", I can see ...
user avatar
  • 6,748
0 votes
1 answer
63 views

QGIS server href links point to a URL containing the docker network name instead of keeping its base value

I have a QGIS server (using https://github.com/camptocamp/docker-qgis-server) project to serve some data using OGC API - Features. It's working properly at a new /wfs3/ endpoint in the nginx ...
user avatar
  • 6,748
1 vote
3 answers
165 views

Automatically fill fields when creating feature in Lizmap?

I've set-up a project with an editable layer (PostGis) with linear geographic elements in qgis and Lizmap. I would like some fields to be automaticaly filled when an user create a new object. List of ...
user avatar
  • 823
0 votes
0 answers
48 views

QGIS Server doesn't publish any layouts

I am using QGIS Server 3.16 to publish a map online. In the QGIS project I have created a print layout and I would like to use the GetPrint command but the answer is the error 'Composer template not ...
user avatar
  • 1
1 vote
1 answer
49 views

QGIS Server WFS query with BBOX filter of size 0

I'm trying to query QGIS WFS service for a specific feature for a specific point (lat/lng) value. (The use case - I have a customer's coordinates for his address, and I want to take from the layer of ...
user avatar
  • 11
0 votes
0 answers
21 views

QGIS Server URL format for retrieving feature from a project file

I'm trying to query WFS service of Qgis Server by a URL. So far, I was succeeded to send this request: http://10.253.69.120/cgi-bin/qgis_mapserv.fcgi?SERVICE=WFS&&REQUEST=DescribeFeatureType&...
user avatar
  • 11
0 votes
0 answers
21 views

Using QGIS Server to return feature for and input given coordinate

I am new to the world of GIS. What I'm trying to do is this: I have a shapefile of polygon areas - dividing my country into "Statistical regions" (or neighbourhoods). I've already succeeded ...
user avatar
  • 11
0 votes
0 answers
32 views

QGIS Server doesn't write log file

I followed this guide to install and configure QGIS Server in a NGINX server. I configured QGIS_SERVER_LOG_STDERR and QGIS_SERVER_LOG_LEVEL as shown but QGIS Server doesn't write any log files
user avatar
  • 1
0 votes
0 answers
35 views

QGIS Server doesn't connect to MSSQL layers

I tried to connect to MSSQL from QGIS Desktop 3.16, then I created a project with a layer from that connection and a layer from a gpkg and I saved the qgs file. Then, I followed this guide to install ...
user avatar
  • 1
1 vote
0 answers
129 views

Failure to connect QGIS to FIRMS WMS - Failed to download capabilities

I'm following this tutorial from (NASA) FIRMS that shows how to ingest FIRMS fire data into QGIS. I've followed the first steps but I get the following error: Failed to download capabilities server ...
user avatar
0 votes
0 answers
19 views

Duplicated labeling when QGIS server serves WMTS [duplicate]

For a roleplay project based in the Star Wars Universe I am currently mapping the Star Wars Galaxy in QGIS using a custom projection. At the end I want to serve the map as a basic WM(T)S output. Thus, ...
user avatar
1 vote
0 answers
52 views

How to load a WFS correctly on QGIS Server?

I am trying to load a URL for a WFS on my QGIS Server but keep on getting the following error: <ServerException>Project file error. For OWS services: please provide a SERVICE and a MAP parameter ...
user avatar
  • 715
0 votes
0 answers
20 views

Cannot open WMS layer on Windows QGIS Server

I have installed QGIS Server on Windows using this tutorial: https://docs.qgis.org/3.16/en/docs/server_manual/getting_started.html#installation-on-windows However, when I load the URL in step 5 of ...
user avatar
  • 715
0 votes
0 answers
110 views

Installation QGIS server on Raspberry

I'm trying to install QGIS server (LTR) on my Raspberry PI. I'm following the tutoriel here. But as you can see, when I call for the repository, I have an error: Can some one explain me what am I ...
user avatar
  • 680
2 votes
2 answers
84 views

How to give a more comprehensive structure to the flat JSON output of an OGC API - Feature layer (WFS3)

Context I have a PostGIS database with ~ 300'000 records having many attributes (fields) in a main table: In this table, I have many attributes, amongst which are: the column holding the primary key ...
user avatar
  • 6,748
1 vote
1 answer
95 views

QGIS server connection times out when trying to reach the /wfs3/collections endpoint

This is the landing page of a QGIS server instance (camptocamp/qgis-server) which connects to a containerized PostGIS database to serve some vector data using the "OGC API - Features" (aka ...
user avatar
  • 6,748
2 votes
0 answers
96 views

Why isn't there an official docker image for QGIS server, i.e. released by QGIS.org [closed]

As of November 21, 2021, the top 3 G..gle results when searching for "docker hub qgis server" are: kartoza/qgis-server camptocamp(qgis-server openquake/qgis-server There is also a nice ...
user avatar
  • 6,748
0 votes
0 answers
54 views

Invalid layer because connection to database failed: how to embed db credentials in compose file for QGIS server

I have a single point layer call points in a QGIS project (my-custom-project.qgs) which fetch features from a PostGIS database (using a filter to only get 10 of them for dev purposes otherwise it ...
user avatar
  • 6,748
0 votes
1 answer
48 views

Using QGIS Server for cascading/proxying an external WMTS service

I have tried to cascade a WMTS service using GeoServer, but it keeps failing since GeoServer does not seem to understand that the WMTS has both EPSG:3857 and EPSG:3006 as available projections. The ...
user avatar
1 vote
1 answer
134 views

Setting qgis-server environment variables

I need to know how to set qgis-server environment variables, because I can't find a good explanation of how this works here on the SE or in the documentation. The specific environment variable I am ...
user avatar
0 votes
1 answer
67 views

QWC2 does not display map on host machine

I am using qwc-demo that is running on the virtual machine. It displays the map as required. I use Apache webserver for the machine. When I try to view it from the host machine, I am able to see the ...
user avatar
0 votes
0 answers
107 views

Installing Lizmap with PostgreSQL and Azure

In our service we have already installed Lizmap on an Azure server, so it works fine but it's just with shp, GeoJSON files. I suggested to them that we work with a database that I created on a ...
user avatar
  • 21
0 votes
1 answer
114 views

How and when does QGIS tile data when WMTS is checked in the QGIS server properties

There is a WMTS section in the QGIS server menu from the project properties: as far as I know, tiling large data to comply with the WMTS standard, e.g. from a PostGIS database, can take quite some ...
user avatar
  • 6,748
0 votes
1 answer
361 views

WMS from QGIS Server is blank

As you can see here, I was able to build a QGIS Server following this tuto. I've done that on my Raspberry Pi4, on Rasbian. I create a test folder, and as you can see the "GetCapabilities" ...
user avatar
  • 680
1 vote
1 answer
159 views

Struggling to return GetFeatureInfo over QGIS Server and MapServer WMS layers [duplicate]

I have a HTML/Leaflet page utilising BetterWMS script (https://gist.github.com/rclark/6908938). The script returns GetFeatureInfo over WMS layers. Unfortunately it is not working with WMSs published ...
user avatar
  • 107
2 votes
1 answer
146 views

BetterWMS script doesn't work with QGIS Server and MapServer WMSs

I have a HTML/Leaflet page utilising BetterWMS script below. The script returns GetFeatureInfo over WMS layer. Unfortunately it is not working with WMSs published by Qgis Server and MapServer, ...
user avatar
  • 107
2 votes
0 answers
124 views

QGIS server: "API not found error: collection was not found" when reaching the /collections endpoint of the OGC API - Features specification

I am trying to set up a QGIS project (my_project.qgs) to server data using the OGC API - Features, namely the WFS-3 protocol. For this purpose, I'm using this Docker image.. When trying to access my ...
user avatar
  • 6,748
2 votes
2 answers
86 views

QGIS Server MAP request parameter

How to setup parameter MAP for QGIS Server request, if my project in PostGIS database? "Database path" of project has ampersand: postgresql://localhost:5432?sslmode=disable&dbname=mydb&...
user avatar
1 vote
0 answers
85 views

QGIS Server Not Rendering VRT Layer that is accessing COGS on S3

I have deployed a QGIS server following steps in the user manual on an AWS EC-2 instance. https://docs.qgis.org/3.16/en/docs/server_manual/containerized_deployment.html#docker-stacks I am serving ...
user avatar
  • 1,395
1 vote
1 answer
145 views

QGIS Server OGC Features API fails on PostgreSQL layers

I'm attempting to use QGIS Server 3.18.1 to serve feature data via the new "WFS3" OGC Features API. I successfully installed the server by following the manual and using the referenced ...
user avatar
  • 3,574
1 vote
0 answers
246 views

QGIS Server install on Windows using XAMPP

I am trying to understand the basics of QGIS Server/Desktop. I am trying to get WMS and WFS to work on a Windows 2016 Server. I am using https://docs.qgis.org/3.16/en/docs/server_manual/...
user avatar
2 votes
1 answer
232 views

Guide on configuring WFS on QGIS Server

I've configured a WMS service on QGIS Server by using https://docs.qgis.org/3.16/en/docs/training_manual/qgis_server/wms.html and QGIS Server on a Windows machine -where do the qgs files go? but was ...
user avatar
  • 7,552
0 votes
1 answer
328 views

QGIS Server [Map request failed error: Host _ not found]

I am trying to set up a QGIS Server to publish the WMS layer using a docker container. I followed the following section in the QGIS Manual https://docs.qgis.org/3.16/en/docs/server_manual/...
user avatar
  • 1,395
1 vote
0 answers
74 views

Extract data from coordinates

I need to extract data from the polygon that is located in the coordinates (lat-long). I am using QGIS 3.16 for creating projects and QGIS Server for requesting info. I need to extract data included ...
user avatar

1
2 3 4 5
7