QGIS API Documentation  3.18.1-Zürich (202f1bf7e5)
Public Types | Static Public Member Functions | List of all members
QgsProjUtils Class Reference

Utility functions for working with the proj library. More...

#include <qgsprojutils.h>

Public Types

enum  IdentifyFlag { FlagMatchBoundCrsToUnderlyingSourceCrs = 1 << 0 }
 Flags controlling CRS identification behavior. More...
 

Static Public Member Functions

static int projVersionMajor ()
 Returns the proj library major version number. More...
 
static QStringList searchPaths ()
 Returns the current list of Proj file search paths. More...
 

Detailed Description

Utility functions for working with the proj library.

Since
QGIS 3.8

Definition at line 45 of file qgsprojutils.h.

Member Enumeration Documentation

◆ IdentifyFlag

Flags controlling CRS identification behavior.

Enumerator
FlagMatchBoundCrsToUnderlyingSourceCrs 

Allow matching a BoundCRS object to its underlying SourceCRS.

Definition at line 65 of file qgsprojutils.h.

Member Function Documentation

◆ projVersionMajor()

int QgsProjUtils::projVersionMajor ( )
static

Returns the proj library major version number.

Definition at line 312 of file qgsprojutils.cpp.

◆ searchPaths()

QStringList QgsProjUtils::searchPaths ( )
static

Returns the current list of Proj file search paths.

Note
Only available on builds based on Proj >= 6.0. Builds based on earlier Proj versions will always return an empty list.

Definition at line 317 of file qgsprojutils.cpp.


The documentation for this class was generated from the following files: