-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move datum transform structs out to their own header, to avoid
need to include private header file
- Loading branch information
1 parent
1c7e140
commit 25c3e13
Showing
17 changed files
with
326 additions
and
259 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/qgsdatumtransform.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
class QgsDatumTransform | ||
{ | ||
%Docstring | ||
Contains methods and classes relating the datum transformations. | ||
|
||
.. versionadded:: 3.0 | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgsdatumtransform.h" | ||
%End | ||
public: | ||
|
||
struct TransformPair | ||
{ | ||
|
||
TransformPair( int sourceTransformId = -1, int destinationTransformId = -1 ); | ||
%Docstring | ||
Constructor for a TransformPair with the specified ``sourceTransformId`` | ||
and ``destinationTransformId`` transforms. | ||
%End | ||
|
||
int sourceTransformId; | ||
%Docstring | ||
ID for the datum transform to use when projecting from the source CRS. | ||
|
||
.. seealso:: :py:func:`QgsCoordinateTransform.datumTransformCrsInfo()` | ||
%End | ||
|
||
int destinationTransformId; | ||
%Docstring | ||
ID for the datum transform to use when projecting to the destination CRS. | ||
|
||
.. seealso:: :py:func:`QgsCoordinateTransform.datumTransformCrsInfo()` | ||
%End | ||
|
||
bool operator==( const QgsDatumTransform::TransformPair &other ) const; | ||
|
||
bool operator!=( const QgsDatumTransform::TransformPair &other ) const; | ||
|
||
}; | ||
|
||
struct TransformInfo | ||
{ | ||
int datumTransformId; | ||
%Docstring | ||
Datum transform ID | ||
%End | ||
|
||
int epsgCode; | ||
%Docstring | ||
EPSG code for the transform, or 0 if not found in EPSG database | ||
%End | ||
|
||
QString sourceCrsAuthId; | ||
%Docstring | ||
Source CRS auth ID | ||
%End | ||
|
||
QString destinationCrsAuthId; | ||
%Docstring | ||
Destination CRS auth ID | ||
%End | ||
|
||
QString sourceCrsDescription; | ||
%Docstring | ||
Source CRS description | ||
%End | ||
|
||
QString destinationCrsDescription; | ||
%Docstring | ||
Destination CRS description | ||
%End | ||
|
||
QString remarks; | ||
%Docstring | ||
Transform remarks | ||
%End | ||
|
||
QString scope; | ||
%Docstring | ||
Scope of transform | ||
%End | ||
|
||
bool preferred; | ||
%Docstring | ||
True if transform is the preferred transform to use for the source/destination CRS combination | ||
%End | ||
|
||
bool deprecated; | ||
%Docstring | ||
True if transform is deprecated | ||
%End | ||
|
||
}; | ||
}; | ||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/qgsdatumtransform.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.