ShapelyDeprecationWarning: __len__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the `geoms` property instead to get the number of parts of a multi-part geometry.
if len(multi_line_string) > 1:
Does anyone else get this error/warning using cartopy?
Last updated: May 16 2025 at 17:14 UTC