cogeotiff/rio-cogeo

force output width/height

Closed this issue · 0 comments

ref: rasterio/rasterio#1951

When not doing reprojection we can still force output size by doing

vrt_params = dict(add_alpha=True, dtype=dtype, width=src_dst.width, height=src_dst.height) here

vrt_params = dict(add_alpha=True, dtype=dtype)

cc @kylebarron