地图生成器替代基地

发布于 2025-02-06 03:34:12 字数 411 浏览 1 评论 0 原文

由于基地被弃用,还有其他替代方案,例如造型,地理杂质等。可以生成我在基础上获得不同投影的美丽地图(而不仅仅是轮廓型)? (希望这也是离线的)

”在此处输入图像说明”

Since Basemap is deprecated, is there any other alternative such cartopy, geopandas, etc.. that can generate this beautiful maps (and not just the contour-type) that I got with Basemap with different projections? (hopefully that works offline too)
enter image description here

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

能否归途做我良人 2025-02-13 03:34:12

cartopy的做技巧?看起来类似于您拍摄的内容。

例如,使用地理投影绘制地球仪:

import cartopy.crs as ccrs
import matplotlib.pyplot as plt

ax = plt.axes(projection=ccrs.Geostationary())
ax.stock_img()
plt.show()

”在此处输入图像说明”
请查看投影指南以获取更多投影选项: https://scitools.org.uk/cartopy/docs/v0.15/crs/projections.html#cartopy-projections

Does cartopy’s ax.stock_image() do the trick? It looks ver similar to what you’re shooting for.

For example, to plot a globe using a geostationary projection:

import cartopy.crs as ccrs
import matplotlib.pyplot as plt

ax = plt.axes(projection=ccrs.Geostationary())
ax.stock_img()
plt.show()

enter image description here
Check out the guide to projections to get more projection options: https://scitools.org.uk/cartopy/docs/v0.15/crs/projections.html#cartopy-projections

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文