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 );
104 void cancel()
override;
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;
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.
Type
The WKB type describes the number of dimensions a geometry has.