Skip to content

Commit

Permalink
Fix upper right corner bounds transformation (#60)
Browse files Browse the repository at this point in the history
Closes #59
  • Loading branch information
g2giovanni committed Jun 22, 2021
1 parent 2c799e3 commit 5f984b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stackstac/geom_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def bounds_from_affine(
ul_x, ul_y = af * (0, 0)
ll_x, ll_y = af * (0, ysize)
lr_x, lr_y = af * (xsize, ysize)
ur_x, ur_y = af * (0, xsize)
ur_x, ur_y = af * (xsize, 0)

xs = [ul_x, ll_x, lr_x, ur_x]
ys = [ul_y, ll_y, lr_y, ur_y]
Expand Down

0 comments on commit 5f984b2

Please sign in to comment.