Skip to content

Commit

Permalink
Simplify bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Apr 18, 2024
1 parent a7f9824 commit 75e50d5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,8 @@ def simple_cards():
bounds = bounds.split(',')
bounds = [float(x) for x in bounds]
filters['branch_geometry__bounded'] = [
[
[bounds[0], bounds[3]],
[bounds[2], bounds[1]],
]
[bounds[0], bounds[3]],
[bounds[2], bounds[1]],
]
filters = json.dumps([filters])

Expand Down

0 comments on commit 75e50d5

Please sign in to comment.