Skip to content

Commit 6874805

Browse files
committed
fix(LAB-3861): multiline & multipoint import
1 parent 766dfa3 commit 6874805

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/kili/utils/labels/geojson.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ def create_kili_property(annotation_type: str):
156156
kili_property = None
157157

158158
# Map geometry types to annotation types based on available tools
159-
if geometry_type == "Point" and "marker" in tools:
159+
if geometry_type in ["Point", "MultiPoint"] and "marker" in tools:
160160
kili_property = create_kili_property("marker")
161-
elif geometry_type == "LineString" and "polyline" in tools:
161+
elif geometry_type in ["LineString", "MultiLineString"] and "polyline" in tools:
162162
kili_property = create_kili_property("polyline")
163163
elif geometry_type == "Polygon":
164164
if "polygon" in tools:

0 commit comments

Comments
 (0)