Skip to content

Commit 5aa95bd

Browse files
author
Chris Arderne
committed
Fix: convert SQLAlchemy bbox to list[int]
1 parent 935dcdb commit 5aa95bd

File tree

1 file changed

+1
-0
lines changed
  • stac_fastapi/sqlalchemy/stac_fastapi/sqlalchemy

1 file changed

+1
-0
lines changed

stac_fastapi/sqlalchemy/stac_fastapi/sqlalchemy/core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ def item_collection(
119119
# Spatial query
120120
geom = None
121121
if bbox:
122+
bbox = [float(x) for x in bbox]
122123
if len(bbox) == 4:
123124
geom = ShapelyPolygon.from_bounds(*bbox)
124125
elif len(bbox) == 6:

0 commit comments

Comments
 (0)