Consider one point is 12.9435584 77.5620174 with bearing 0 deg and distance 100 m I need to calculate the other lat and long.
I need to calculate lat and long for other point. Given one lat long and bearing.
44 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Risposte (2)
Ted Shultz
il 11 Ott 2018
Modificato: Ted Shultz
il 11 Ott 2018
Here is an example for the values you gave:
latIn=12.9435584;
lonIn=77.5620174;
dist = 100; %meters
distUnits = 'm';
% Convert input distance to earth degrees (Lat, Lon are typicaly given in degrees)
arclen = rad2deg(dist/earthRadius(distUnits));
[latOut,lonOut] = reckon(latIn, lonIn,arclen,az)
results in:
latOut =
12.944457721605922
lonOut =
77.562017400000002
2 Commenti
Tareq Rahmani
il 8 Apr 2020
Hi Ted ,
If I have a point X1(lat1,lon1) and X2(lat2,lon2)
and I have point Y with d1 distance ( in m) from X1 and d2 from X2.
How can i get the lat and lon of point Y ?
thanks very much
Ted Shultz
il 8 Apr 2020
This is a new question. Starting a new question will get you the best answer, and will be the most useful to other people in the future searching for the same information.
10B
il 26 Mag 2017
Hello,
I think you need this: https://uk.mathworks.com/matlabcentral/fileexchange/5379-geodetic-distance-on-wgs84-earth-ellipsoid
HTH
10B.
0 Commenti
Vedere anche
Categorie
Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!