You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from cnmaps import get_adm_maps
china = get_adm_maps(level="国", record= "first", only_polygon=True, wgs84=True)
china.to_file('./china.geojson') # 默认为 geojson 格式文件
问题:
File "/Users/……/Downloads/……/map/cnampsTest.py", line 3, in
china.to_file('./china.geojson') # 默认为 geojson 格式文件
AttributeError: 'MapPolygon' object has no attribute 'to_file'
另,我想把几个省的地图合并后导出轮廓的经纬度数据,可以做到吗?
The text was updated successfully, but these errors were encountered:
版本1.0.0
代码:
问题:
File "/Users/……/Downloads/……/map/cnampsTest.py", line 3, in
china.to_file('./china.geojson') # 默认为 geojson 格式文件
AttributeError: 'MapPolygon' object has no attribute 'to_file'
另,我想把几个省的地图合并后导出轮廓的经纬度数据,可以做到吗?
The text was updated successfully, but these errors were encountered: