Replies: 1 comment
-
@nilsleh unfortunately, this isn't possible right now with stackstac. It sounds like you'd want to be able to use a non-orthographic geotransform, so that you can make the output images rotated instead of always north-up. This isn't supported right now; see #93 (comment) for some discussion. The easiest thing stackstac could do currently is allow you to pass in a Otherwise, you'll need to just accept the images in north-up orientation, then apply a function to them after to rotate and clip them (like |
Beta Was this translation helpful? Give feedback.
-
I am looking for a way to to retrieve an image from stackstac that has equal area to the polygon used as boundaries. In practice the polygon is likely to not be perfectly aligned but rotated causing the retrieved image to be closer to the envelope area of the polygon and not the "real" area. So assuming a 1ha area of a polygon, when retrieving an image with stackstac at resolution of 10m, I would want a 10x10pixel image, regardless of the orientation of the polygon. I have made a gist with an example and was hoping for an idea of how this can be achieved. Thank you very much in advance!
Beta Was this translation helpful? Give feedback.
All reactions