16#ifndef QGSVECTORWARPER_H
17#define QGSVECTORWARPER_H
19#include "qgis_analysis.h"
63 QString
error()
const {
return mError; }
67 QList < QgsGcpPoint > mPoints;
70 mutable QString mError;
99 const QString &fileName );
101 void cancel()
override;
128 long long mFeatureCount = 0;
129 std::unique_ptr< QgsVectorLayerFeatureSource > mSource;
130 QList < QgsGcpPoint > mPoints;
133 QString mDestFileName;
135 std::unique_ptr< QgsFeedback > mFeedback;
141 Result mResult = Result::Success;
142 QString mErrorMessage;
143 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.