相关疑难解决方法(0)

在正投影中绘制圆圈与cartopy

我试图使用cartopy在给定的半径范围内绘制圆圈.我想使用正交投影绘制,该投影以圆心为中心.

我使用以下python代码进行测试:

import numpy as np
import cartopy.crs as ccrs
import cartopy.feature as cfeature
import matplotlib.pyplot as plt
import matplotlib.patches as mpatches

# example: draw circle with 45 degree radius around the North pole
lon = 0
lat = 90
r = 45

# find map ranges (with 5 degree margin)
minLon = lon - r - 5
maxLon = lon + r + 5
minLat = lat - r - 5
maxLat = lat + r + 5

# …
Run Code Online (Sandbox Code Playgroud)

python orthographic cartopy

3
推荐指数
2
解决办法
942
查看次数

标签 统计

cartopy ×1

orthographic ×1

python ×1