Hi,

This question is for people who have worked on Python's imdlib package.

The rasters downloaded using imdlib has the following affine transformation:
| 0.25, 0.00, 66.38|
| 0.00, *0.25*, *6.38*|
| 0.00, 0.00, 1.00|

If I'm not wrong, the general standard is to define the pixel height in 
negative with top-left bounding box coordinates as X,Y. At least, the 
images downloaded from GEE follow that format.

But in the array above you can see (in bold blue) that the pixel height is 
specified in the positive. And the bottom-left bounding box coordinates are 
specified (bold red).

The issue I faced with this is that when I try to calculate zonal 
statistics using *rasterstats*, the positive height becomes a problem 
(negative dimensions error). I changed the transformation matrix and 
flipped the array to be able to run zonal stats.

Want to know if there is a standard in defining affine transformation 
matrix and if imdlib is not using that.

Thanks!

-- 
Datameet is a community of Data Science enthusiasts in India. Know more about 
us by visiting http://datameet.org
--- 
You received this message because you are subscribed to the Google Groups 
"datameet" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/datameet/98c9162b-e45e-4bba-9095-be37683b7e41n%40googlegroups.com.

Reply via email to