Re: How are calculate_default_transform and aligned_target different?


Hi Sean,

Ok thanks for the clarifications. I think I found GDAL's logic around here:

It would indeed be useful to have a function that returns the best transform and shape given any bounds, resolution and shape. That's what I tried to do here in a Python implementation: (until L 932), if that can be of any help. In the meantime, I think I'll just keep my current implementation, which seems to provide similar results to what gdalwarp would do (I'll check the code in detail later).



Join to automatically receive all group messages.