We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
尝试合并边界: beijing = get_adm_maps(province='北京市', only_polygon=True, record='first') tianjin = get_adm_maps(province='天津市', only_polygon=True, record='first') hebei = get_adm_maps(province='河北省', only_polygon=True, record='first')
jingjinji = beijing + tianjin + hebei 报错: TypeError Traceback (most recent call last) Cell In[33], line 9 6 tianjin = get_adm_maps(province='天津市', only_polygon=True, record='first') 7 hebei = get_adm_maps(province='河北省', only_polygon=True, record='first') ----> 9 jingjinji = beijing + tianjin + hebei 11 fig = plt.figure(figsize=(5,5)) 12 ax = fig.add_subplot(111, projection=ccrs.PlateCarree())
TypeError: unsupported operand type(s) for +: 'MultiPolygon' and 'MultiPolygon'
The text was updated successfully, but these errors were encountered:
版本号是多少?
Sorry, something went wrong.
cnmaps 为1.1.0版本, python 是3.11
@hejiagail 升级到最新版本,用pip 安装: pip install -U cnmaps
pip install -U cnmaps
好的,已解决,感谢🙏
No branches or pull requests
尝试合并边界:
beijing = get_adm_maps(province='北京市', only_polygon=True, record='first')
tianjin = get_adm_maps(province='天津市', only_polygon=True, record='first')
hebei = get_adm_maps(province='河北省', only_polygon=True, record='first')
jingjinji = beijing + tianjin + hebei
报错:
TypeError Traceback (most recent call last)
Cell In[33], line 9
6 tianjin = get_adm_maps(province='天津市', only_polygon=True, record='first')
7 hebei = get_adm_maps(province='河北省', only_polygon=True, record='first')
----> 9 jingjinji = beijing + tianjin + hebei
11 fig = plt.figure(figsize=(5,5))
12 ax = fig.add_subplot(111, projection=ccrs.PlateCarree())
TypeError: unsupported operand type(s) for +: 'MultiPolygon' and 'MultiPolygon'
The text was updated successfully, but these errors were encountered: