Skip to content

Commit 5f984b2

Browse files
authored
Fix upper right corner bounds transformation (#60)
Closes #59
1 parent 2c799e3 commit 5f984b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stackstac/geom_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def bounds_from_affine(
2121
ul_x, ul_y = af * (0, 0)
2222
ll_x, ll_y = af * (0, ysize)
2323
lr_x, lr_y = af * (xsize, ysize)
24-
ur_x, ur_y = af * (0, xsize)
24+
ur_x, ur_y = af * (xsize, 0)
2525

2626
xs = [ul_x, ll_x, lr_x, ur_x]
2727
ys = [ul_y, ll_y, lr_y, ur_y]

0 commit comments

Comments
 (0)