Answers for "update profile rasterio pyton"

0

update profile rasterio pyton

import rasterio
img=rasterio.open('my_raster.tif')
profile = img.profile 
profile.update(dtype=rasterio.uint8,count=1,nodata=42, compress='lzw')
Posted by: Guest on March-20-2020

Python Answers by Framework

Browse Popular Code Answers by Language