FAQ

The PROFILE service does not exist

QGIS Server answers that the service is unknown:

  • the plugin folder must be named exactly elevationProfileServer and be in the plugin folder of QGIS Server;

  • QGIS Server must have been restarted;

  • the logs must show Init server version "…"; otherwise they give the loading error.

The list of layers is empty

  • The project has no raster layer declared as an elevation surface (see Preparing the QGIS project).

  • The user may read none of them, or they are excluded from the WMS publication.

  • With Lizmap: the request did not go through Lizmap, or Lizmap does not relay it (see With Lizmap).

A layer is refused (403)

The user may not read the layer, or it is excluded from the WMS publication of the project, directly or through one of its groups.

The profile is empty (only nulls)

  • The line is outside the extent of the layer.

  • CRS does not match the coordinates of GEOMETRY (e.g. Lambert-93 coordinates with a project CRS in EPSG:3857). Give CRS.

  • In EPSG:4326, GEOMETRY must be longitude,latitude.

Copernicus does not answer

  • QGIS Server must reach the Internet; behind a proxy, set GDAL_HTTP_PROXY.

  • Look at the Copernicus lines of the logs.

  • At sea, there are no tiles: no value.

The Copernicus heights differ from my DEM

That is expected: surface model, 30 m resolution, and heights referred to the EGM2008 geoid (see Copernicus GLO-30).

The Copernicus cache is emptied at each restart

It is probably in /tmp, in memory on some systems. Give a dedicated folder with ELEVATIONPROFILE_COPERNICUS_CACHE_DIR (see Configuration).

The browser blocks the request (CORS)

The page and QGIS Server are not on the same domain: the web server in front of QGIS Server must send Access-Control-Allow-Origin (see With another application).