FAQ

The button is not in the menu

  • Is the module installed? lizmap/var/config/localconfig.ini.php must contain elevationProfile.enabled=on in the [modules] section.

  • Clear the cache: ./lizmap/install/clean_vartmp.sh, then reload the page.

  • The lizmap/www/elevationprofile/ folder must exist; otherwise run php lizmap/install/configurator.php elevationProfile again.

Error 500: “include file … does not exist”

The URL of the module is wrongly declared in lizmap/var/config/localurls.xml. The line must be:

<url include="urls.xml" module="elevationProfile" pathinfo="/elevationprofile"/>

Fix it, then run ./lizmap/install/clean_vartmp.sh. (The test versions of the module before 1.0.0 wrote a wrong line.)

“No elevation layer available”

  • The project has no layer declared as an elevation surface (see Preparing the QGIS project), or the user may read none of them.

  • The layer may be excluded from the WMS publication of the project.

  • The QGIS Server plugin is not installed, or QGIS Server was not restarted.

Test the URL index.php/elevationprofile/service?repository=…&project=…&REQUEST=GetElevationLayers (see Installation).

“Unable to compute the elevation profile”

Look at the QGIS Server logs (Elevation Profile Server lines) and lizmap/var/log/errors.log. For Copernicus, QGIS Server must be able to reach the Internet (GDAL_HTTP_PROXY behind a proxy).

The graph is not shown

The graph uses Plotly, shipped with the Lizmap dataviz (assets/js/dataviz/plotly-custom.min.js). Check in the browser console that this file is loaded.

The Copernicus heights differ from my DEM

That is expected: Copernicus is a surface model (buildings, vegetation), at 30 m, and its heights refer to the EGM2008 geoid. See Preparing the QGIS project.

I use the fork Seboon/lizmap-web-client

Do not install the module: the fork already has the tool, in the Measure menu.