2019-03-19 13:44:53 +10:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgsprojutils.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-22 15:42:28 +10:00
|
|
|
|
2019-03-27 14:42:32 +10:00
|
|
|
|
2019-03-19 13:44:53 +10:00
|
|
|
class QgsProjUtils
|
|
|
|
{
|
|
|
|
%Docstring
|
|
|
|
Utility functions for working with the proj library.
|
|
|
|
|
|
|
|
.. versionadded:: 3.8
|
|
|
|
%End
|
|
|
|
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsprojutils.h"
|
|
|
|
%End
|
|
|
|
public:
|
|
|
|
|
|
|
|
static int projVersionMajor();
|
|
|
|
%Docstring
|
|
|
|
Returns the proj library major version number.
|
|
|
|
%End
|
2019-03-27 14:42:32 +10:00
|
|
|
|
2019-06-01 10:53:34 +10:00
|
|
|
static QStringList searchPaths();
|
|
|
|
%Docstring
|
|
|
|
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.
|
|
|
|
%End
|
|
|
|
|
2019-03-19 13:44:53 +10:00
|
|
|
};
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgsprojutils.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|