GeoTIFF / GeoTIFF/georaster

Metadata values are ignored when loading COG from URL

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

Description

**Describe the bug**
When loading a COG from URL, metadata values are not used. This might be intentional, but there is nothing in the documentation indicate that that's the case.

**To Reproduce**
Steps to reproduce the behavior:
* Add break point in [GeoRaster's constructor](https://github.com/GeoTIFF/georaster/blob/master/src/index.js#L58)
* Call `parseGeoraster(https://path.to/cog.tiff, { projection: "example" })`

**Expected behavior**
Metadata is expected to be used. When `parseGeoraster`'s input is an ArrayBuffer, it is used.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: MacOS
- Browser: Chrome
- Version: 116

**Additional context**
I see that there are other types of inputs where metadata is not passed as well.

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.