Re: Iterate over elements in Rasterio window and obtain coordinates using transform.xy


whytefish1@...
 
Edited

Worked it out using a previous thread, doing it using an affine transform on the window. 
I would however like to know if the rasterio.transform.xy method can be used when passing col, row from a dataset window, as I would like to get the coordinate for the center of the cell rather than the ul which results from the affine window transform.

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