Skip to content
Snippets Groups Projects
Commit 130241bf authored by Raphael Sturgis's avatar Raphael Sturgis
Browse files

hotfix

parent 5c4bf644
No related branches found
No related tags found
1 merge request!13Draft: Develop
This commit is part of merge request !13. Comments created here will be created in the context of that merge request.
...@@ -88,7 +88,7 @@ def __get_bounding_box__(bounding_box, positions, ref_index): ...@@ -88,7 +88,7 @@ def __get_bounding_box__(bounding_box, positions, ref_index):
upper_lon = center_lon + distance_to_center upper_lon = center_lon + distance_to_center
lower_lon = center_lon - distance_to_center lower_lon = center_lon - distance_to_center
elif type(bounding_box) is list: elif type(bounding_box) is list:
if type(bounding_box[0]) is not numbers.Number: if isinstance(bounding_box[0], numbers.Number):
upper_lon = bounding_box[1][0] upper_lon = bounding_box[1][0]
lower_lon = bounding_box[0][0] lower_lon = bounding_box[0][0]
upper_lat = bounding_box[1][1] upper_lat = bounding_box[1][1]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment