QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
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 68 of file qgsprojutils.h.

Member Function Documentation

◆ projVersionMajor()

static int QgsProjUtils::projVersionMajor ( )
inlinestatic

Returns the proj library major version number.

Definition at line 52 of file qgsprojutils.h.

◆ 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 313 of file qgsprojutils.cpp.


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