mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-04 00:30:59 -05:00
Now, proj will search in the current user profile "proj" folder (e.g. .local/share/QGIS/QGIS3/profiles/default/proj" on linux) for grid files and other proj helper files. This allows users (and plugins) to install grid files and make them available for use in QGIS without requiring administrator access to the system.
51 lines
1.5 KiB
Plaintext
51 lines
1.5 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/qgsprojutils.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
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
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/qgsprojutils.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|