rio-tiler
rio-tiler copied to clipboard
User friendly Rasterio plugin to read raster datasets.
By design rio-tiler assume you are working within the native zoom range of your data (raw data = Max res, max res/number of overviews ~= minzoom). When reading a file,...
Using `img.render()` with an ImageData.data array with too many bands fails with `CPLE_NotSupportedError: PNG driver doesn't support 5 bands. Must be 1 (grey), 2 (grey+alpha), 3 (rgb) or 4 (rgba)...
ping @geospatial-jeff @kylebarron @TomAugspurger @rabernat
`rio_tiler.io.COGReader` is not just for COG but it can be used to read all GDAL Raster dataset! As this is a pretty big change I'm ok to add `COGReader =...
Base PR for version 4 evolution of the work can be tracked in https://github.com/cogeotiff/rio-tiler/projects/4
Tested this in 3.1.6 and 3.1.0. The COGReader constructor says it takes a "crs" parameter for the dataset crs: > crs (rasterio.crs.CRS): Dataset CRS. However, actually passing this parameter results...
ref https://github.com/cogeotiff/rio-tiler/pull/523#discussion_r963304743 Right now when passing `expression` to MultiBaseReader (STAC) methods, we assume each asset is one band e.g: ```python with STACReader("stac.json") as stac: ima = stac.tile(701, 102, 8, expression="green/red")...
ref https://github.com/rasterio/rasterio/issues/2445