-
Notifications
You must be signed in to change notification settings - Fork 791
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
projCtx_t: Copy ini file settings, proj4_init_rules, etc.. when initializing context from global #2331
Conversation
a6b62e1
to
eb040aa
Compare
…alizing context from global
eb040aa
to
b095cf8
Compare
Co-authored-by: Even Rouault <[email protected]>
6a0c253
to
12143d3
Compare
Should I also copy |
This is not necessary. This variable is only transiently set to true at https://github.com/OSGeo/PROJ/blob/master/src/iso19111/c_api.cpp#L186 (you may add a comment about that) |
There is a comment |
Maybe "// set transiently by pj_obj_create()" ? |
Thanks for the review @rouault. Very helpful 👍 |
Ran into a couple of other settings that weren't copied from the global context. I figured initializing them here might reduce the overhead of loading in of the data elsewhere when creating new contexts. Thoughts?