16#ifndef QGSVECTORWARPER_H
17#define QGSVECTORWARPER_H
19#include "qgis_analysis.h"
59 QString
error()
const {
return mError; }
63 QList<QgsGcpPoint> mPoints;
66 mutable QString mError;
92 void cancel()
override;
117 long long mFeatureCount = 0;
118 std::unique_ptr<QgsVectorLayerFeatureSource> mSource;
119 QList<QgsGcpPoint> mPoints;
122 QString mDestFileName;
124 std::unique_ptr<QgsFeedback> mFeedback;
130 Result mResult = Result::Success;
131 QString mErrorMessage;
132 double mLastProgress = 0;
WkbType
The WKB type describes the number of dimensions a geometry has.
This class represents a coordinate reference system (CRS).
Contains information about the context in which a coordinate transform is executed.
Wrapper for iterator of features from vector data provider or vector layer.
An interface for objects which accept features via addFeature(s) methods.
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Container of fields for a vector layer.
Abstract base class for long running background tasks.
Represents a vector layer which manages a vector based data sets.
A task for warping a vector layer in a background thread.
QString errorMessage() const
Returns the descriptive error message, if an error occurred.
Result result() const
Returns the result of running the task.
Vector layer warper which warps vector layers based on a list of source and destination GCPs.
QString error() const
Returns the last error obtained during transformation.