Preparing the QGIS project
Elevation layers
The plugin uses the raster layers declared as elevation surfaces in QGIS Desktop, with the same settings as the QGIS profile tool:
Open the properties of the layer (DTM, DSM…), Elevation tab.
Choose the Represents Elevation Surface mode (before QGIS 3.38: check Represents elevation surface).
If needed, set:
the band holding the elevation;
the Z scale and Z offset (e.g. a DEM stored in centimetres: scale 0.01);
the profile representation (line, fill below, fill above) and its colours: they are sent to the client, which can use them;
Show by default in elevation profile plots: sent to the client (
default_visible) to check the layer when the tool opens.
Save the project.
The three QGIS representations: line, fill below, fill above.
Only raster layers are supported for now. The other elevation modes of rasters (elevation ranges per band, for instance) are ignored.
Order and groups
The layers are listed in the order of the layer tree of the project, with the path of their groups. The layers hidden in the legend of a WebGIS are listed too, if the user may read them.
Layers not to expose
A layer excluded from the WMS publication of the project (), directly or through one of its groups, is never listed nor queried. It is the simplest way to keep a DEM for internal use. For per-user rights, see Security and rights.
Units
The elevations are returned in the unit of the layer values, after the Z scale and offset (usually metres).
The distances along the line are always in metres (see Requests and answers).