geobr
geobr copied to clipboard
ShapelyDeprecationWarning: multi-part geometries is deprecated
New issue since multi-part geometries is deprecated in the shapely library. Thanks @luiz-dejesus for pointing this out on issue #269.
from geobr import read_municipality
mun = read_municipality(year=2017, code_muni = 1200179)
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.
I couldn't reproduce the warning.
My current shapely
version is 1.8.0
which is the latest.
Mine too. it's more like a warning for a potential further release from 'shapely'
shapely 1.8.0 py310h94bff20_4 conda-forge
Closing this issue then. Happy to reopen it if someone comes across with this problem again