Skip to content

Commit e6ea8a9

Browse files
committed
Allow points with height
1 parent 5b0c5af commit e6ea8a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taxonomies/loaders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def func(row):
3434
geometry = {}
3535
if geometry.get('type') == 'Point':
3636
coords = geometry['coordinates']
37-
if coords and len(coords) == 2:
37+
if coords and len(coords) >= 2:
3838
return coords[i]
3939
return None
4040
return func

0 commit comments

Comments
 (0)