18 #ifndef QGSCOORDINATEREFERENCESYSTEM_PRIVATE_H 19 #define QGSCOORDINATEREFERENCESYSTEM_PRIVATE_H 33 #include <ogr_srs_api.h> 41 class QgsCoordinateReferenceSystemPrivate :
public QSharedData 45 explicit QgsCoordinateReferenceSystemPrivate()
47 , mIsGeographic( false )
48 , mMapUnits(
QGis::UnknownUnit )
51 , mCRS( OSRNewSpatialReference( nullptr ) )
52 , mAxisInvertedDirty( false )
53 , mAxisInverted( false )
57 QgsCoordinateReferenceSystemPrivate(
const QgsCoordinateReferenceSystemPrivate& other )
59 , mSrsId( other.mSrsId )
60 , mDescription( other.mDescription )
61 , mProjectionAcronym( other.mProjectionAcronym )
62 , mEllipsoidAcronym( other.mEllipsoidAcronym )
63 , mIsGeographic( other.mIsGeographic )
64 , mMapUnits( other.mMapUnits )
65 , mSRID( other.mSRID )
66 , mAuthId( other.mAuthId )
67 , mIsValid( other.mIsValid )
69 , mValidationHint( other.mValidationHint )
71 , mProj4( other.mProj4 )
72 , mAxisInvertedDirty( other.mAxisInvertedDirty )
73 , mAxisInverted( other.mAxisInverted )
77 mCRS = OSRClone( other.mCRS );
81 mCRS = OSRNewSpatialReference(
nullptr );
85 ~QgsCoordinateReferenceSystemPrivate()
87 OSRDestroySpatialReference( mCRS );
124 mutable bool mAxisInvertedDirty;
127 mutable bool mAxisInverted;
133 #endif //QGSCOORDINATEREFERENCESYSTEM_PRIVATE_H The QGis class provides global constants for use throughout the application.
UnitType
Map units that qgis supports.
void * OGRSpatialReferenceH