Re: Calculate transformation using output dimensions

Alan Snow

Looks like you are most of the way there.

If you have a dataset open with ``, then you should be able to get the information you need for the input:

with'/path/do/dataset.tif') as rds:
    left, bottom, right, top = rds.bounds
    src_crs =
    width = rds.width
    height = rds.height

Join to automatically receive all group messages.