-
Notifications
You must be signed in to change notification settings - Fork 184
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
Release the olGeoTiff.js developed to modify the OpenLayers tileLoadFunction #79
Comments
Hi @PBrockmann, thanks for showing interest in the project. geotiff.js itself should be agnostic in what context it is used, so I'm a bit hesitant to directly add the olGeoTiff.js source code it to the main repository itself. On the other hand I was planning to create a separate project to combine geotiff.js, OpenLayers and plotty.js, but have not yet come around to do it. I think it is a good idea to add an examples directory to put stuff like this. I'll set one up, once I have some spare time. For now, you can inspect the source code of the example directly. There is also the COG-Explorer, where geotiff.js is used in conjunction with OpenLayers, maybe you can find some hints there. I'll leave this issue open as a reminder to create the aforementioned examples. |
Ok thank you very much for this promising answer. 2 things are missing for me :
So I will carefully look at this issue. |
COG-Explorer is too much integrated for my purpose. I prefer to design and code a personal app to have multiple synchronous slippy maps exposing different GeoTIFF layers (global at 90m resolution). |
Hi @PBrockmann, I love the idea of a separate repo for an olGeoTIFF.js layer that people can use in their own OL projects. We've talked about maybe moving https://geotiff.io to OL in the future and would definitely be interested in your developments. For what it's worth, here's a use of geotiff.js to display GeoTIFFs in Leaflet that we created: https://github.com/GeoTIFF/georaster-layer-for-leaflet/blob/master/README.md Let me know if you have any questions or if there's anyway I can help your endeavor :-) |
Hi @DanielJDufour, thank you for pointing the https://github.com/GeoTIFF/georaster-layer-for-leaflet repo. In my understanding, with it you can render only single GeoTIFF but not tiled ones (WMTS). |
As I am completely neutral on the different web mapping librairies (OpenLayers, Leaflet), I have also submitted a ticket to the Mapbox GL JS project pointing the work made by EOX on geotiff.js and plotty.js (both with a MIT licence) |
Any news on getting this for openlayers 5.3 ? |
As described in https://eox.at/2018/01/visualizing-geotiff-tiles-with-openlayers/, an olGeoTiff.js has been developped to modify the internal tileloadFunction so that OpenLayers does not request a regular PNG image rendered by the server but downloads the original GeoTIFF data.
Could this olGeoTiff.js be included in the geotiff.js project ?
A small example of use would be great.
The text was updated successfully, but these errors were encountered: