kylebarron / deck.gl-raster

deck.gl layers and WebGL modules for client-side satellite imagery analysis
https://kylebarron.dev/deck.gl-raster/
MIT License
84 stars 8 forks source link

Raster diff with deck.gl-raster #135

Closed lukecoursey closed 8 months ago

lukecoursey commented 8 months ago

Hi - i'm trying to understand possible use cases of this library and this in particular is one that i'm looking for client side solutions for. Let's say I have two simple single band rasters A and B both as a tiled source (currently in mapbox), could the library render a difference of B minus A to show the pixel-by-pixel change between the two?

kylebarron commented 8 months ago

This library isn't getting much maintenance at the moment, but you could do that by using a shader module to subtract one from the other

lukecoursey commented 8 months ago

Since I posted I've managed to get something vaguely working, still plenty to figure out but it's looking promising. Thanks a lot for your work on this library, has so much potential!