From e6ea8a9e1aa8bec1b474a93507135d805e2daf37 Mon Sep 17 00:00:00 2001 From: Adam Kariv Date: Wed, 24 Jan 2024 11:42:37 +0200 Subject: [PATCH] Allow points with height --- taxonomies/loaders.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taxonomies/loaders.py b/taxonomies/loaders.py index bcbb7cb..75a43df 100644 --- a/taxonomies/loaders.py +++ b/taxonomies/loaders.py @@ -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