Support for Cloud Optimized Geotiff (COG)
See original GitHub issueIs your feature request related to a problem? Please describe. Despite being an awesome format, Cloud Optimized Geotifs (COG) are not supported by Openlayers. For those not familiar with the format, COG are basically regular Geotiffs, that store overviews in such a way that they can be retrieved using HTTP GET range requests. Server side, it’s awesome, as it’s just one file to host, and the same file can be downloaded as a whole too. Client side, it’s even better than regular xyz tiles as you also get some metadata (extents, etc…).
Describe the solution you’d like
We could add a new source very similar to XYZ, where the user would just have to set the remote url. The geotiff.js
library seems to provide all the difficult implementation.
Alternatively (or as a staging step), this could probably be an extension.
Cheers !
References :
- More info on COG : https://www.cogeo.org/
- OpenAerialMaps : they store their rasters as COG
- Issue asking for better docs on how to use COG with Openlayers : https://github.com/cogeotiff/www.cogeo.org/issues/36
Issue Analytics
- State:
- Created 4 years ago
- Reactions:9
- Comments:20 (5 by maintainers)
Top GitHub Comments
The state of affairs after the changes in my branch at https://github.com/IvanSanchez/openlayers/commit/f0fcf4e3f66b2eaeb6247b2e503b494df42805ff looks good - I plan on sending a PR next week.
not stale, we still long for this feature