Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[needs-docs] Append a local, user writable folder to proj 6 search paths #30048

Merged
merged 1 commit into from
Jun 3, 2019

Conversation

nyalldawson
Copy link
Collaborator

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.

@nyalldawson nyalldawson added Bug Either a bug report, or a bug fix. Let's hope for the latter! Projections/Transformations Related to coordinate reference systems or coordinate transformation labels Jun 1, 2019
@nyalldawson nyalldawson added this to the 3.8.0 milestone Jun 1, 2019
@nyalldawson
Copy link
Collaborator Author

@rouault look ok to you? I've tested and it works well under linux, although after calling proj_context_set_search_paths the first path is present twice in subsequent calls to proj_info().searchpath (maybe the existing list isn't cleared?), and I also see the concatenator change from ":" to ";" . Not sure if these are proj issues, or issues in the approach used here.

@nirvn
Copy link
Contributor

nirvn commented Jun 2, 2019

@nyalldawson , it'd be good to update the warning message in PR #30040 to indicate the profile location for users to copy the downloaded grid file into.

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.
@nyalldawson nyalldawson merged commit a4e5e6a into qgis:master Jun 3, 2019
@nyalldawson nyalldawson deleted the proj_search_path branch June 3, 2019 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Projections/Transformations Related to coordinate reference systems or coordinate transformation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants