Wentao Li
Wentao Li
行政编码经常会有变化,不太好支持。
@nishishabimacao 出自 cartopy
> 请问使用maskout的时候报错`AttributeError: 'MultiPolygon' object has no attribute 'maskout'`也是这个原因吗,shapely的版本是2.0.2 是的。
对于 shapely>=2.0 无法继承子类的一个解决方案参考:https://github.com/shapely/shapely/issues/1233#issuecomment-977837620
@huddao 我之前尝试过做兼容,但是目前核心还没解决。如果要强行兼容,有可能需要整体重构很多方法,有些方法可能就用不了了(比如加减合并的功能)。
@rcomer Thank you for your reply. I just tried upgrading cartopy to version 0.23, and then reran the previous code, but it still produced the same error as before. It...
@rcomer Hello, I have found the root cause of the issue. When using the `contourf` function to create contour line path data, the polygon object may encounter topological errors. This...
> Do we know why we are getting duplicate points/bad geometries from our other code paths? This is likely OK to fix here, but it might be nice to at...
@rcomer I'm not very familiar with the CI process for cartopy, but I see that some tests have failed in the CI, and pre-commit.ci has also been failing continuously. I'm...
@lgolston It worked! Thank you for your guidance.