-
Notifications
You must be signed in to change notification settings - Fork 17
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
Native support for GeoTiffs and COGs #38
Comments
Related: cogeotiff/www.cogeo.org#36 |
So I've experimented a bit with the new experimental support for COGs that is available for OpenLayers here openlayers/openlayers#12008: Here's how to link against the branch: openlayers/openlayers#12008 (comment) One issue that came up is that the CORS policy for the GeoTiffs needs to allow the HTTP range requests at the back-end side: After disabling CORS in Chrome ( This leads me to the conclusion that this has quite a bit of small pitfalls when implemented for "all kinds of" results and thus needs proper support from back-ends, incl. CORS and good STAC metadata (e.g. including projection as WKT, no-data value, default visualization(?), bands, ...) Next attempt: stacLayer, which is currently in development for Leaflet. |
Nice experiment! |
Reprojection doesn't seem to be a too big problem, depending on which library you use. For many projections, it works out-of-the-box in the Leaflet implementation. I've experimented with the stacLayer plugin a bit in the last few days (for STAC Browser) and several projections worked flawlessly in my tests. So this seems more like an OpenLayers issue right now, which one could probably solve, but let's get them to a more mature state first. If work continues in such a good way for stacLayer/Leaflet, I have enough reasoning to switch back to Leaflet in the Web Editor and then we can give it another try. Let's see... (and there's always still the option to set up a tile server, too). |
Add native (browser-based, serverless) support for GeoTiffs and COGs.
The text was updated successfully, but these errors were encountered: