-
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
Download grids by bounding box or region name #2028
Comments
Exists as a utility : https://proj.org/apps/projsync.html#cmdoption-projsync-bbox
By area of use name: https://proj.org/apps/projsync.html#cmdoption-projsync-area-of-use No plan from me for now to provide that in the API. |
Thanks for the pointers! It looks like I have some reading to do.
I hope it will make it there eventually. |
Thoughts on surfacing these methods in
I think with those methods, the |
You'd probably only need pj_context_get_url_endpoint() and pj_context_get_user_writable_directory() if you restrict yourself to downloading to the default user-writable directory pj_get_relative_share_proj() + pj_context_set_user_writable_directory() are only needed for downloading in system /share/proj. |
I am currently planning on replicating all of projsync, but I may be able to get by without these methods. I was thinking keeping them the same would be easier on users. But, I will try it out and implementation and think on it later. |
I remember seeing something about adding functionality to pre-fetch grids. Potentially by region name or bounding box. Currently I see this for manually downloading files:
PROJ/src/proj.h
Line 510 in 38ec5e6
Are there plans to add functionality to download grids by a bounding box or by region name?
Also, what about a download all grids method?
The text was updated successfully, but these errors were encountered: