facebookresearch / facebookresearch/fvcore
ShapelyDeprecationWarning in CropTransform
Open
question
- Dominant language
- Python
- Stars
- 2.3k
- Forks
- 236
- PR merge metrics
- No merged PRs in 30d
Description
I'm getting the following warning when using CropTransform on polygons:
"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."
https://github.com/facebookresearch/fvcore/blob/7a0ef0c0839fa0f5e24d2ef7f5d48712f36e7cd7/fvcore/transforms/transform.py#L724-L733
Contributor guide
Assessment
This issue has not been assessed yet.