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
283 stars 57 forks source link

RPF, CADRG, CIB, ADRG, ASRP and DTED #123

Open nebsar opened 1 year ago

nebsar commented 1 year ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is.

The leaflet to display the military standard images such as rpf, cadrg, cib, asrp and dted elevation formats .

Describe the solution you'd like A clear and concise description of what you want to happen. Leaflet integration with Gdal.js to read/display multiple raster formats such as RPF, CADRG, CIB, ADRG, DTED file formats.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Gdal.js can be integrated to read the file formats and leaflet can be used to display the image formats.

Additional context Add any other context or screenshots about the feature request here.

DanielJDufour commented 1 year ago

Hello. I'm sorry for the late reply. Unfortunately, I haven't had the time to give you a proper response. I am interested in learning more about these formats. GeoRaster is meant to be a universal raster grid wrapper, so in theory it's meant to in the future support formats like DTED.

My concern with using Gdals.js is that it would increase the bundled size of GeoRaster by too much. My preference would be to only use decoders/readers written in pure JavaScript (like geotiff.js) and not compiled from another language (C via Emscripten, gopher for golang, etc.).

All that being said, georaster-layer-for-leaflet and geoblaze can work with any georaster-like object. As long as a JavaScript object has the same properties as a GeoRaster and implements a values property or a getValues method, everything should work the same.

Let me know if you would be interested in building a JavaScript reader of some of these formats. And we could talk more about interoperability. Even if they might be too heavy to incorporate directly into georaster, it's still my intention to allow they different pieces/libraries to support external readers.