Skip to content

Commit

Permalink
bugfix: can't take the union of a BoundingBox and a Polygon #402
Browse files Browse the repository at this point in the history
  • Loading branch information
bossie committed Aug 23, 2023
1 parent 049734e commit ebadf5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openeogeotrellis/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ def operator_value(criterion: Dict[str, object]) -> (str, object):
)

stac_bbox = (item_bbox if stac_bbox is None
else item_bbox.as_polygon().union(stac_bbox.as_polygon()))
else BoundingBox.from_wsen_tuple(item_bbox.as_polygon().union(stac_bbox.as_polygon()).bounds))

items_found = True

Expand Down

0 comments on commit ebadf5b

Please sign in to comment.