User friendly Rasterio plugin to read raster datasets

rio-tiler
User friendly Rasterio plugin to read raster datasets.
rio-tiler
was initialy designed to create slippy map
tiles from large raster data
sources and render these tiles dynamically on a web map. With rio-tiler
v2.0 we added many more helper methods to read
data and metadata from any raster source supported by Rasterio/GDAL.
This includes local files and via HTTP, AWS S3, Google Cloud Storage,
etc.
At the low level, rio-tiler
is just a wrapper around the rasterio.vrt.WarpedVRT class, which can be useful for doing reprojection and/or property overriding (e.g nodata value).
Features
-
Read any dataset supported by GDAL/Rasterio
from rio_tiler.io import COGReader
with COGReader("my.tif") as image:
print(image.dataset) # rasterio opened dataset
img = image.read() # similar to rasterio.open("my.tif").read() but returns a rio_tiler.models.ImageData object