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

Add an OSRSetPROJSearchPaths function #1191

Closed
sgillies opened this issue Jan 9, 2019 · 3 comments

Comments

@sgillies
Copy link
Contributor

commented Jan 9, 2019

Such as

void CPL_DLL OSRSetPROJSearchPaths( const char* const* papszPaths );

As discussed in https://lists.osgeo.org/pipermail/gdal-dev/2019-January/049570.html, this will prevent the need for callers to race GDAL to PROJ's default context, and will allow the search paths to be modified at any time that suits the caller.

rouault added a commit to rouault/gdal that referenced this issue Jan 10, 2019

rouault added a commit to rouault/gdal that referenced this issue Jan 12, 2019

rouault added a commit to rouault/gdal that referenced this issue Jan 15, 2019

@rouault rouault closed this Mar 20, 2019

@gbburkhardt

This comment has been minimized.

Copy link

commented Jun 22, 2019

I'd very much like to see this exposed through the Java and other interfaces. In particular, Java doesn't let one set an environment variable programmatically without a hack. Thanks.

@rouault

This comment has been minimized.

Copy link
Member

commented Jun 22, 2019

I'd very much like to see this exposed through the Java and other interfaces. In particular, Java doesn't let one set an environment variable programmatically without a hack. Thanks.

Was added a few days ago in master per #1658 and backported to 3.0 branch

@gbburkhardt

This comment has been minimized.

Copy link

commented Jun 22, 2019

You're ahead of the game, as usual. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.