You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~\AppData\Local\Temp\ipykernel_10512\1989879658.py in _extract_instance_polygon(self, instance)
102 def _extract_instance_polygon(self, instance):
103 XYZ = []
--> 104 for xyz in instance.boundary.coords:
105 XYZ.append(xyz)
106
~\anaconda3\envs\rock\lib\site-packages\shapely\geometry\base.py in coords(self)
866 def coords(self):
867 raise NotImplementedError(
--> 868 "Multi-part geometries do not provide a coordinate sequence")
869
870 @Property
NotImplementedError: Multi-part geometries do not provide a coordinate sequence
The text was updated successfully, but these errors were encountered:
Having a problem when using ts.split() to split the orthomap and shapefile into tiles, it showing this error
NotImplementedError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_10512\1663223480.py in
----> 1 ts.split()
~\AppData\Local\Temp\ipykernel_10512\1989879658.py in split(self)
17 tile_indices = self._calculate_tile_indices(bbox)
18 if tile_indices.shape[0] == 1:
---> 19 instance_poly = self._extract_instance_polygon(instance)
20 self._add_instance(instance_poly, tile_indices[0])
21 continue
~\AppData\Local\Temp\ipykernel_10512\1989879658.py in _extract_instance_polygon(self, instance)
102 def _extract_instance_polygon(self, instance):
103 XYZ = []
--> 104 for xyz in instance.boundary.coords:
105 XYZ.append(xyz)
106
~\anaconda3\envs\rock\lib\site-packages\shapely\geometry\base.py in coords(self)
866 def coords(self):
867 raise NotImplementedError(
--> 868 "Multi-part geometries do not provide a coordinate sequence")
869
870 @Property
NotImplementedError: Multi-part geometries do not provide a coordinate sequence
The text was updated successfully, but these errors were encountered: