QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
16 #ifndef QGSVECTORWARPER_H
17 #define QGSVECTORWARPER_H
20 #include "qgis_analysis.h"
66 QString
error()
const {
return mError; }
70 QList < QgsGcpPoint > mPoints;
73 mutable QString mError;
102 const QString &fileName );
131 long long mFeatureCount = 0;
132 std::unique_ptr< QgsVectorLayerFeatureSource > mSource;
133 QList < QgsGcpPoint > mPoints;
136 QString mDestFileName;
138 std::unique_ptr< QgsFeedback > mFeedback;
144 Result mResult = Result::Success;
145 QString mErrorMessage;
146 double mLastProgress = 0;
150 #endif //QGSVECTORWARPER_H
Result result() const
Returns the result of running the task.
Contains information about the context in which a coordinate transform is executed.
QString errorMessage() const
Returns the descriptive error message, if an error occurred.
A task for warping a vector layer in a background thread.
Container of fields for a vector layer.
Type
The WKB type describes the number of dimensions a geometry has.
QString error() const
Returns the last error obtained during transformation.
virtual void cancel()
Notifies the task that it should terminate.
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Vector layer warper which warps vector layers based on a list of source and destination GCPs.
This class represents a coordinate reference system (CRS).
Represents a vector layer which manages a vector based data sets.
Wrapper for iterator of features from vector data provider or vector layer.
virtual bool run()=0
Performs the task's operation.
An interface for objects which accept features via addFeature(s) methods.
Abstract base class for long running background tasks. Tasks can be controlled directly,...