We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 766dfa3 commit 6874805Copy full SHA for 6874805
src/kili/utils/labels/geojson.py
@@ -156,9 +156,9 @@ def create_kili_property(annotation_type: str):
156
kili_property = None
157
158
# Map geometry types to annotation types based on available tools
159
- if geometry_type == "Point" and "marker" in tools:
+ if geometry_type in ["Point", "MultiPoint"] and "marker" in tools:
160
kili_property = create_kili_property("marker")
161
- elif geometry_type == "LineString" and "polyline" in tools:
+ elif geometry_type in ["LineString", "MultiLineString"] and "polyline" in tools:
162
kili_property = create_kili_property("polyline")
163
elif geometry_type == "Polygon":
164
if "polygon" in tools:
0 commit comments