QGIS API Documentation 3.36.0-Maidenhead (09951dc0acf)
Loading...
Searching...
No Matches
qgscoordinatereferencesystemutils.h
Go to the documentation of this file.
1/***************************************************************************
2 qgscoordinatereferencesystemutils.h
3 -------------------
4 begin : April 2022
5 copyright : (C) 2022 by Nyall Dawson
6 email : nyall dot dawson at gmail dot com
7***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17#ifndef QGSCOORDINATEREFERENCESYSTEMUTILS_H
18#define QGSCOORDINATEREFERENCESYSTEMUTILS_H
19
20#include "qgis_core.h"
21#include "qgis_sip.h"
22#include "qgis.h"
23
25
33{
34 public:
35
42 static Qgis::CoordinateOrder defaultCoordinateOrderForCrs( const QgsCoordinateReferenceSystem &crs );
43
47 static QString axisDirectionToAbbreviatedString( Qgis::CrsAxisDirection axis );
48
53 static QString crsTypeToString( Qgis::CrsType type );
54
62 static QString translateProjection( const QString &projection );
63};
64
65#endif // QGSCOORDINATEREFERENCESYSTEMUTILS_H
CrsType
Data provider flags.
Definition qgis.h:1844
CoordinateOrder
Order of coordinates.
Definition qgis.h:1919
CrsAxisDirection
Coordinate reference system axis directions.
Definition qgis.h:1869
Utility functions for working with QgsCoordinateReferenceSystem objects.
This class represents a coordinate reference system (CRS).
const QgsCoordinateReferenceSystem & crs