Traceback (most recent call last): File "E:\code-study\coda\cross_nostopline.py", line 51, in <module> rectangle = subset.geometry.minimum_rotated_rectangle File "C:\Users\GW00321286\.conda\envs\python_39\lib\site-packages\pandas\core\generic.py", line 5902, in __getattr__ return object.__getattribute__(self, name) AttributeError: 'GeoSeries' object has no attribute 'minimum_rotated_rectangle'
时间: 2023-08-09 07:11:57 浏览: 455
根据你提供的信息,这个错误是因为你正在尝试从一个 GeoSeries 对象中获取属性 minimum_rotated_rectangle,但是这个属性在 GeoSeries 中不存在。这可能是因为你在调用该属性之前没有正确地导入相关的模块或库,或者是因为你使用的版本不支持该属性。建议你查看相关文档或代码,确保你正确地导入了需要的模块,并检查你所使用的库或模块的版本是否支持该属性。
阅读全文
相关推荐








