GeoTIFF / GeoTIFF/georaster

Support passing HTTP headers to the GeoTiff request

Open
#77 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
96
Forks
37
PR merge metrics
No merged PRs in 30d

Description

**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:
- https://github.com/stac-utils/stac-layer/issues/66
- https://github.com/radiantearth/stac-browser/issues/356

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.