Skip to content

Commit

Permalink
Allow points with height
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Jan 24, 2024
1 parent 5b0c5af commit e6ea8a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taxonomies/loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def func(row):
geometry = {}
if geometry.get('type') == 'Point':
coords = geometry['coordinates']
if coords and len(coords) == 2:
if coords and len(coords) >= 2:
return coords[i]
return None
return func
Expand Down

0 comments on commit e6ea8a9

Please sign in to comment.