mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
17 lines
404 B
Plaintext
17 lines
404 B
Plaintext
|
class QgsCRSCache
|
||
|
{
|
||
|
%TypeHeaderCode
|
||
|
#include <qgscrscache.h>
|
||
|
%End
|
||
|
|
||
|
public:
|
||
|
static QgsCRSCache* instance();
|
||
|
~QgsCRSCache();
|
||
|
/**Returns the CRS for authid, e.g. 'EPSG:4326' (or an invalid CRS in case of error)*/
|
||
|
const QgsCoordinateReferenceSystem& crsByAuthId( const QString& authid );
|
||
|
const QgsCoordinateReferenceSystem& crsByEpsgId( long epgs );
|
||
|
|
||
|
protected:
|
||
|
QgsCRSCache();
|
||
|
};
|