tag
|
|
|
|
|
Entity
|
Header
|
Footer
|
|
Document
|
|
</Document> </kml>
|
|
Point Origin
|
<Placemark><name>Origin</name><Point> <coordinates>
|
</coordinates> </Point></Placemark>
|
|
Line
|
<Placemark><LineString> <coordinates>
|
</coordinates> </LineString></Placemark>
|
|
Polygon
|
<Placemark><Polygon> <outerBoundaryIs> <LinearRing> <coordinates>
|
</coordinates></LinearRing></outerBoundaryIs></Polygon></Placemark>
|
|
Tessellate
|
<Placemark><LineString><tessellate>1</tessellate> <coordinates>
|
</coordinates> </LineString></Placemark>
|
|
Name
|
<name>
|
</name>
|
|
Point Destination
|
<Placemark><name>Destination</name><Point><coordinates>
|
</coordinates> </Point></Placemark>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?> <kml xmlns=" http://earth.google.com/kml/2.1"><Document><Placemark><name>Destination</name><Point><coordinates> <Placemark><name>Origin</name><Point> <coordinates> -34.5,66.5,5000 </coordinates> </Point></Placemark><Placemark><name>Origin</name><Point> <coordinates> -10.0332748680834,29.5015845961553,5000 </coordinates> </Point></Placemark><Placemark><LineString><tessellate>1</tessellate> <coordinates>-34.5,66.5,5000 -10.0332748680834,29.5015845961553,5000 </coordinates> </LineString></Placemark></Document> </kml>
|
|
|
Rhumb
|
|
|
|
|
|
|
|
|
|
Find Location Based on Bearing and Distance
|
|
|
|
|
|
|
|
|
Origin
|
|
Radians
|
|
Calculation
|
|
|
|
|
Latitude
|
66.5000
|
1.16064
|
|
Destination Latitude
|
|
0.51490
|
lat= lat1+d*cos(tc)
|
|
Longitude
|
-34.5000
|
-0.60214
|
|
dphi
|
|
-1.03093
|
dphi=log(tan(lat/2+pi/4)/tan(lat1/2+pi/4))
|
|
|
|
|
|
q
|
|
0.62637
|
q= if (abs(lat2-lat1) < sqrt(TOL)),cos(lat1),(lat2-lat1)/dphi)
|
|
Distance
|
|
|
|
dlon
|
|
-0.42702
|
dlon=-d*sin(tc)/q
|
|
Units1 = NM, 2=KM, 3=SM
|
2
|
0.00016
|
|
lon
|
|
0.17511
|
lon=mod(lon1+dlon+pi,2*pi)-pi
|
|
Distance
|
4450.00
|
0.69895
|
|
|
|
|
Comments
|
|
|
|
|
|
|
|
|
|
|
Bearing
|
|
|
|
|
|
|
Thanks, Paul.
|
|
Heading
|
157.5000
|
2.74889
|
|
|
|
|
I not can fast check your work.
|
|
|
|
|
|
|
|
|
I see bearing. Great! :)
|
|
Results
|
|
|
|
|
|
|
You and i make real innovations :)
|
|
Ending Point
|
|
|
|
|
|
|
|
|
Latitude
|
29.5015845961553
|
|
|
|
|
|
I check GEC publication
|
|
Longitude
|
-10.03327
|
|
|
|
|
|
1. All see correctly
|
|
|
|
|
|
|
|
|
2. NL with refresh 4 sec - maybe make this
|
|
|
|
|
|
|
|
|
Oncy or onExpiration.
|
|
Start
|
-34.5,66.5,5000
|
|
|
|
|
|
|
|
End
|
-10.0332748680834,29.5015845961553,5000
|
|
|
|
|
|
|
|
|
-34.5,66.5,5000 -10.0332748680834,29.5015845961553,5000
|
|
|
|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?> <kml xmlns=" http://earth.google.com/kml/2.1"><Document><Placemark><name>Origin</name><Point> <coordinates> -34.5,66.5,5000 </coordinates> </Point></Placemark><Placemark><name>Destination</name><Point><coordinates> -10.0332748680834,29.5015845961553,5000 </coordinates> </Point></Placemark><Placemark><LineString><tessellate>1</tessellate> <coordinates>-34.5,66.5,5000 -10.0332748680834,29.5015845961553,5000 </coordinates> </LineString></Placemark></Document> </kml>
|
|
|
|
|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?> <kml xmlns=" http://earth.google.com/kml/2.1"><Document><Placemark><name>Origin</name><Point> <coordinates> -34.5,66.5,5000 </coordinates> </Point></Placemark><Placemark><name>Destination</name><Point><coordinates> -10.0332748680834,29.5015845961553,5000 </coordinates> </Point></Placemark><Placemark><LineString><tessellate>1</tessellate> <coordinates>-34.5,66.5,5000 -10.0332748680834,29.5015845961553,5000 </coordinates> </LineString></Placemark></Document> </kml>
|
|
|
|
|
|
|
|
|