Skip to content

Commit

Permalink
Fixing origin determination from proj:transform
Browse files Browse the repository at this point in the history
  • Loading branch information
constantinius committed Dec 2, 2022
1 parent 93ccd1b commit 1a4221c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eoxserver/resources/coverages/registration/stac.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def register_stac_product(stac_item, product_type=None, storage=None,
overrides['size'] = [shape[1], shape[0]]

if transform:
overrides['origin'] = [transform[1], transform[5]]
overrides['origin'] = [transform[2], transform[5]]

if epsg and transform:
sr = osr.SpatialReference(epsg)
Expand Down

0 comments on commit 1a4221c

Please sign in to comment.