-
Notifications
You must be signed in to change notification settings - Fork 32
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
Support passing HTTP headers to the GeoTiff request #77
Comments
We ran into this same issue at Maxar and have a local build of this package with this fix. I'll try to put out a PR for it this week to see if it meets your needs too. |
@DanielJDufour I have a local branch ready to open a pull request but get the following error: |
You can fork the repo, commit there and then open a PR from it to this repo, no? |
👋 Thanks for all your help! I just published a new version of georaster under the |
Is your feature request related to a problem? Please describe.
I have COGs that I need a Bearer token to via a HTTP header.
Describe the solution you'd like
I'd like to be able to pass options to the HTTP request. This should be possible to provide to the fromUrl(s) methods of geotiff.js.
OpenLayers also does it and could be used as a reference.
Additional context
Code: https://github.com/GeoTIFF/georaster/blob/master/src/index.js#L94
Related issues:
The text was updated successfully, but these errors were encountered: