Class: QgsElevationUtils

class qgis.core.QgsElevationUtils

Bases: sip.wrapper

Contains utility methods for working with elevation from layers and projects.

New in version 3.18:

Methods

calculateZRangeForProject

Calculates the elevation range for a project.

calculateZRangeForProject(project: QgsProject) QgsDoubleRange

Calculates the elevation range for a project.

This method considers the elevation (or z) range available from layers contained within the project and returns the maximal combined elevation range of these layers.

Parameters

project (QgsProject) –

Return type

QgsDoubleRange