perrygeo / python-rasterstats

Summary statistics of geospatial raster datasets based on vector geometries.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello! I had this problem in use, I checked the source code and it was fixed, but it still exists in the latest packages.

tom100to opened this issue · comments

Hello! I had this problem in use, I checked the source code and it was fixed, but it still exists in the latest packages.
"/usr/local/lib/python3.8/dist-packages/rasterstats/main.py:156: ShapelyDeprecationWarning: The 'type' attribute is deprecated, and will be removed in the future. You can use the 'geom_type' attribute instead.
if 'Point' in geom.type:"