Re: Can Rasterio generate a geoTIFF from a matrix?

Luke Pinner
 

Is your matrix of values a numpy array? You can easily create a GeoTIFF in rasterio if you have an array of data and the basic metadata (georeferencing, dimensions, band count, data type).

https://rasterio.readthedocs.io/en/latest/quickstart.html#creating-data
https://rasterio.readthedocs.io/en/latest/topics/profiles.html
https://rasterio.readthedocs.io/en/latest/topics/writing.html

Join main@rasterio.groups.io to automatically receive all group messages.