GeoTIFF / geoblaze

Blazing Fast JavaScript Raster Processing Engine
http://geoblaze.io
MIT License
181 stars 28 forks source link

bbox per polygon #218

Closed DanielJDufour closed 1 year ago

DanielJDufour commented 1 year ago

currently, we calculate a bbox for all the input polygons. If the polygons happen to be on opposite sides of the anti-meridian, then we will sample pixel values across the whole world.

this could become a problem if the raster is high resolution and all the values can't fit into memory or it takes a long time to decode all the pixel values

But we can't treat each polygon as separate because we need to account for any overlap between polygons

some options:

DanielJDufour commented 1 year ago

done with https://github.com/GeoTIFF/geoblaze/releases/tag/v2.3.0