Class: QgsAbstractProfileSource¶
Interface for classes which can generate elevation profiles.
Added in version 3.26.
Note
This is an abstract class, with methods which must be implemented by a subclass.
The following methods must be implemented: createProfileGenerator()
Class Hierarchy¶
Subclasses¶
Represents a vector layer which manages a vector based dataset. |
|
Represents a mesh layer supporting display of data on structured or unstructured meshes. |
|
Represents a map layer supporting display of point clouds. |
|
Represents a raster layer. |
Abstract Methods
Given a profile request, returns a new profile generator ready for generating elevation profiles. |
- class qgis.core.QgsAbstractProfileSource[source]¶
Bases:
object
- abstract createProfileGenerator(self, request: QgsProfileRequest) QgsAbstractProfileGenerator | None [source]¶
Given a profile
request
, returns a new profile generator ready for generating elevation profiles.The caller takes ownership of the returned generator.
May return
None
if the source cannot generate a profile at this time.- Parameters:
request (QgsProfileRequest)
- Return type:
Optional[QgsAbstractProfileGenerator]