GeoTIFF / georaster-layer-for-leaflet

Display GeoTIFFs and soon other types of raster on your Leaflet Map
https://geotiff.github.io/georaster-layer-for-leaflet-example/
Apache License 2.0
286 stars 57 forks source link

Get value of cell when using COG files #37

Open saveas opened 4 years ago

saveas commented 4 years ago

Hi! When loading a simple (not cog) geotiff, we can use geoblaze to identify values as in this example https://github.com/GeoTIFF/georaster-layer-for-leaflet-example/blob/master/examples/load-via-script-tag-with-geoblaze.html

I tried the same method for a cog but it fails. image I assume this happens because rasterdata is loaded in chunks and not as a complete raster file.

Is there another way to have this functionality when using a cog file?

Thanks!