Draw deviated great cirle path between two points on map

2 ビュー (過去 30 日間)
Amir
Amir 2016 年 8 月 22 日
コメント済み: Amir 2016 年 8 月 23 日
Hi all,
I have lat/lon of two points, Point A and Point B. I am trying to create the flight path AB but rather than using a great circle direct line, i would like to deviate the path to one side by 5% of length of AB. So let's say the distance between Point A and Point B is 1000km, i would like to shift the path from the Centre of AB by 50km (1000 x 5%). I would then want to repeat the same on the other side.
Note: I am suing R2014b and have access to Mapping Toolbox.
Thanks for your help.

回答 (1 件)

KSSV
KSSV 2016 年 8 月 22 日
As you have A, B in your hand; you will get equation of line AB. You can pick different points on AB, get the foot of perpendicular. Join all the foot of perpendiculars. Perpendicular distance would be 5% of the distance on AB.
  3 件のコメント
KSSV
KSSV 2016 年 8 月 23 日
You provide me lat and lon for the points A, B
Amir
Amir 2016 年 8 月 23 日
for example, the coordinates can be:
LatA =51.4775; LonA = -0.461389;
LatB = 41.297078; LonB = 2.078464;

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by