QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
|
Handles exports of elevation profiles in various formats. More...
#include <qgsprofileexporter.h>
Public Member Functions | |
QgsProfileExporter (const QgsProfileExporter &other)=delete | |
QgsProfileExporter (const QList< QgsAbstractProfileSource * > &sources, const QgsProfileRequest &request, Qgis::ProfileExportType type) | |
Constructor for QgsProfileExporter, using the provided list of profile sources to generate the results. | |
~QgsProfileExporter () | |
QgsProfileExporter & | operator= (const QgsProfileExporter &other)=delete |
void | run (QgsFeedback *feedback=nullptr) |
Runs the profile generation. | |
QList< QgsVectorLayer * > | toLayers () |
Returns a list of vector layer containing the exported profile results. | |
Handles exports of elevation profiles in various formats.
Definition at line 36 of file qgsprofileexporter.h.
QgsProfileExporter::QgsProfileExporter | ( | const QList< QgsAbstractProfileSource * > & | sources, |
const QgsProfileRequest & | request, | ||
Qgis::ProfileExportType | type | ||
) |
Constructor for QgsProfileExporter, using the provided list of profile sources to generate the results.
After construction, call run() to initiate the profile generation.
Definition at line 29 of file qgsprofileexporter.cpp.
|
delete |
|
default |
|
delete |
void QgsProfileExporter::run | ( | QgsFeedback * | feedback = nullptr | ) |
Runs the profile generation.
This method must be called before retrieving any results from the exporter.
This method is safe to run in a background thread.
Definition at line 45 of file qgsprofileexporter.cpp.
QList< QgsVectorLayer * > QgsProfileExporter::toLayers | ( | ) |
Returns a list of vector layer containing the exported profile results.
While this method attempts to condense all results into a single layer, multiple layers may be returned when the geometry types of exported features differs.
Ownership of the returned layers is transferred to the caller.
Definition at line 57 of file qgsprofileexporter.cpp.