How to find the third coordinate using MATLAB Mapping Toolbox?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hi everyone! I am using google apis for mapping a certain point on google earth. For example mapping a certain point on google earth given its coordinates from MATLAB using the following code:
lat_1 = 44.05897222222222 ; % example latitude
long_1 = 91.97936833333333 ; % example longitude
url = sprintf('http://maps.googleapis.com/maps/api/geocode/xml?latlng=%.4f,%.4f&sensor=true', lat_1, long_1) ;
buffer = urlread(url);
documentNode = xmlread(url) ;
formattedAddressNodes = documentNode.getElementsByTagName('formatted_address') ;
for k = 1 : formattedAddressNodes.getLength()
fprintf('%s\n', ...
char(formattedAddressNodes.item(k-1).getTextContent())) ;
end
filename = 'point.kml' ;
kmlwritepoint(filename,lat_1,long_1);
winopen(filename)
Now if I know 02 different coordinates and their in between distance and angles from a particular point source respectively , how can I calculate the third coordinate on google maps? Can I achieve this by applying simple geometry?
0 Commenti
Risposte (1)
Amy Haskins
il 19 Gen 2018
Try the reckon function:
https://www.mathworks.com/help/map/ref/reckon.html
0 Commenti
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!