【发布时间】:2013-06-09 14:09:19
【问题描述】:
我想用 matlab 绘制一个纬度和经度。使用该纬度和经度作为圆心,我想绘制一个半径为 5 Nm 的圆。
r = 5/60;
nseg = 100;
x = 25.01;
y = 55.01;
theta = 0 : (2 * pi / nseg) : (2 * pi);
pline_x = r * cos(theta) + x;
pline_y = r * sin(theta) + y;
hold all
geoshow(pline_x, pline_y)
geoshow(x, y)
圆圈看起来不像我预期的那样。
【问题讨论】:
-
它是什么样子的? Here is a circle on a Google Maps Javascript API v3 map(你在考虑地图的投影吗?
-
更新了我的答案。即使做得正确,一个圆看起来也只是在投影中心的一个圆。 (天梭误差椭圆)
标签: matlab google-maps geolocation gps