|
| QgsCoordinateTransformContext () |
| Constructor for QgsCoordinateTransformContext. More...
|
|
| QgsCoordinateTransformContext (const QgsCoordinateTransformContext &rhs) |
| Copy constructor. More...
|
|
| ~QgsCoordinateTransformContext () |
|
bool | addCoordinateOperation (const QgsCoordinateReferenceSystem &sourceCrs, const QgsCoordinateReferenceSystem &destinationCrs, const QString &coordinateOperationProjString, bool allowFallback=true) |
| Adds a new coordinateOperationProjString to use when projecting coordinates from the specified sourceCrs to the specified destinationCrs. More...
|
|
Q_DECL_DEPRECATED bool | addSourceDestinationDatumTransform (const QgsCoordinateReferenceSystem &sourceCrs, const QgsCoordinateReferenceSystem &destinationCrs, int sourceTransformId, int destinationTransformId) |
| Adds a new sourceTransform and destinationTransform to use when projecting coordinates from the specified sourceCrs to the specified destinationCrs. More...
|
|
bool | allowFallbackTransform (const QgsCoordinateReferenceSystem &source, const QgsCoordinateReferenceSystem &destination) const |
| Returns true if approximate "ballpark" transforms may be used when transforming between a source and destination CRS pair, in the case that the preferred coordinate operation fails (such as when coordinates from outside a required grid shift file are transformed). More...
|
|
QString | calculateCoordinateOperation (const QgsCoordinateReferenceSystem &source, const QgsCoordinateReferenceSystem &destination) const |
| Returns the Proj coordinate operation string to use when transforming from the specified source CRS to destination CRS. More...
|
|
Q_DECL_DEPRECATED QgsDatumTransform::TransformPair | calculateDatumTransforms (const QgsCoordinateReferenceSystem &source, const QgsCoordinateReferenceSystem &destination) const |
| Returns the pair of source and destination datum transforms to use for a transform from the specified source CRS to destination CRS. More...
|
|
void | clear () |
| Clears all stored transform information from the context. More...
|
|
QMap< QPair< QString, QString >, QString > | coordinateOperations () const |
| Returns the stored mapping for source to destination CRS pairs to associated coordinate operation to use (as a proj string). More...
|
|
bool | hasTransform (const QgsCoordinateReferenceSystem &source, const QgsCoordinateReferenceSystem &destination) const |
| Returns true if the context has a valid coordinate operation to use when transforming from the specified source CRS to destination CRS. More...
|
|
bool | mustReverseCoordinateOperation (const QgsCoordinateReferenceSystem &source, const QgsCoordinateReferenceSystem &destination) const |
| Returns true if the coordinate operation returned by calculateCoordinateOperation() for the source to destination pair must be inverted. More...
|
|
QgsCoordinateTransformContext & | operator= (const QgsCoordinateTransformContext &rhs) |
| Assignment operator. More...
|
|
bool | operator== (const QgsCoordinateTransformContext &rhs) const |
|
void | readSettings () |
| Reads the context's state from application settings. More...
|
|
bool | readXml (const QDomElement &element, const QgsReadWriteContext &context, QStringList &missingTransforms) |
| Reads the context's state from a DOM element. More...
|
|
void | removeCoordinateOperation (const QgsCoordinateReferenceSystem &sourceCrs, const QgsCoordinateReferenceSystem &destinationCrs) |
| Removes the coordinate operation for the specified sourceCrs and destinationCrs. More...
|
|
Q_DECL_DEPRECATED void | removeSourceDestinationDatumTransform (const QgsCoordinateReferenceSystem &sourceCrs, const QgsCoordinateReferenceSystem &destinationCrs) |
| Removes the source to destination datum transform pair for the specified sourceCrs and destinationCrs. More...
|
|
Q_DECL_DEPRECATED QMap< QPair< QString, QString >, QgsDatumTransform::TransformPair > | sourceDestinationDatumTransforms () const |
| Returns the stored mapping for source to destination CRS pairs to associated datum transforms to use. More...
|
|
void | writeSettings () |
| Write the context's state to application settings. More...
|
|
void | writeXml (QDomElement &element, const QgsReadWriteContext &context) const |
| Writes the context's state to a DOM element. More...
|
|