Skip to content
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

Are COG Range Requests Supported #44

Open
efreethy opened this issue Jan 28, 2023 · 1 comment
Open

Are COG Range Requests Supported #44

efreethy opened this issue Jan 28, 2023 · 1 comment

Comments

@efreethy
Copy link

I have a large Geotiff (500 MB). Its cloud optimized in COG format. Can this library handle that? Most likely through range requests to get only the necessary bytes out of the file.

@anton-seaice
Copy link

Not really, see link, it grabs the whole image (at the highest resolution if there are overviews)

      const image = await this.tiff.getImage(this.options.image).catch((e) => {

https://github.com/onaci/leaflet-geotiff-2/blob/d954d78ae69c79dd53d89014d7850e0e7a8d4a1a/src/leaflet-geotiff.js#LL190C10-L190C10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants