8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
如题,有时候需要绘制中国行政区划的时候也会涉及其他国家,请问要怎么制作出符合标准的世界地图呢
The text was updated successfully, but these errors were encountered:
@huddao 这个之前考虑过直接添加接壤国家的地图边界到包数据中: #41 ,目前还没做这个功能。 目前如果要自己做,可以考虑先自己解析接壤国家的国界线,用 MapPolygon 实例化成可以操作的多边形实例,然后用中国的国界对它做减法。
from cnmap import MapPolygon # 假设已实例化后的印度国界为 raw_india_polygon,是 MapPolygon 对象。 intersect = get_adm_maps(country="中华人民共和国", only_polygon=True, record="first") & raw_india_polygon new_india_polygon = raw_india_polygon - intersect # 用 new_india_polygon 画图
Sorry, something went wrong.
感谢,我试一下
No branches or pull requests
如题,有时候需要绘制中国行政区划的时候也会涉及其他国家,请问要怎么制作出符合标准的世界地图呢
The text was updated successfully, but these errors were encountered: