Skip to content

Address Shapely 2.0 Deprecations #1913

@akrherz

Description

@akrherz

Description

The Shapely 1.8 release is out now and is now emitting a bunch of ShapelyDeprecationWarning for things that will no longer work in Shapely 2.0. Here's a sampling of a current CI run I made against 3.9

  <__array_function__ internals>:5: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead.
  /home/runner/work/cartopy/cartopy/lib/cartopy/crs.py:825: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/crs.py:836: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/crs.py:836: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/crs.py:877: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/crs.py:944: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/crs.py:982: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/crs.py:982: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/io/ogc_clients.py:165: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/mpl/gridliner.py:842: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/mpl/gridliner.py:848: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/mpl/gridliner.py:853: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_crs.py:210: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_crs.py:211: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_crs.py:212: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_linear_ring.py:138: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_linear_ring.py:144: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_linear_ring.py:173: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_linear_ring.py:23: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_linear_ring.py:40: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_linear_ring.py:71: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_linear_ring.py:89: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:106: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:107: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:113: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:114: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:120: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:121: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:127: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:128: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:134: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:140: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:141: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:147: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:148: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:149: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:155: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:156: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:162: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:163: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:170: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:171: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:178: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:179: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:191: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:192: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:206: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:216: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:217: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:225: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:229: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:247: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:248: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:249: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:250: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:36: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:54: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_line_string.py:62: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:177: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:178: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:24: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:301: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:308: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:318: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:350: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:352: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:360: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:362: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:375: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:377: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:393: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:394: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:396: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:406: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:408: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:427: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:428: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:429: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:431: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:433: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:442: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:443: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:445: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:457: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:458: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:460: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:473: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:474: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:476: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:491: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:491: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:57: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:75: 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.
  /home/runner/work/cartopy/cartopy/lib/cartopy/tests/test_polygon.py:76: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  /usr/share/miniconda/envs/test-environment/lib/python3.9/site-packages/numpy/lib/function_base.py:4817: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead.
  /usr/share/miniconda/envs/test-environment/lib/python3.9/site-packages/numpy/testing/_private/utils.py:1046: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions