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> 0,0,5000 </coordinates> </Point></Placemark><Placemark><name>Origin</name><Point> <coordinates> -44.6498542405426,57.8827258889767,5000 </coordinates> </Point></Placemark><Placemark><LineString><tessellate>1</tessellate> <coordinates>0,0,5000 -44.6498542405426,57.8827258889767,5000 </coordinates> </LineString></Placemark></Document> </kml>
|
|
|
Rhumb
|
|
|
|
|
|
|
|
|
|
Find Location Based on Bearing and Distance
|
|
|
|
|
|
|
|
|
Origin
|
|
Radians
|
|
Calculation
|
|
|
|
|
Latitude
|
0.0000
|
0.00000
|
|
Destination Latitude
|
|
1.01024
|
lat= lat1+d*cos(tc)
|
|
Longitude
|
0.0000
|
0.00000
|
|
dphi
|
|
1.24530
|
dphi=log(tan(lat/2+pi/4)/tan(lat1/2+pi/4))
|
|
|
|
|
|
q
|
|
0.81124
|
q= if (abs(lat2-lat1) < sqrt(TOL)),cos(lat1),(lat2-lat1)/dphi)
|
|
Distance
|
|
|
|
dlon
|
|
7.06247
|
dlon=-d*sin(tc)/q
|
|
Units1 = NM, 2=KM, 3=SM
|
1
|
0.00029
|
|
lon
|
|
0.77929
|
lon=mod(lon1+dlon+pi,2*pi)-pi
|
|
Distance
|
20000.00
|
5.81776
|
|
|
|
|
Comments
|
|
|
|
|
|
|
|
|
|
|
Bearing
|
|
|
|
|
|
|
Thanks, Paul.
|
|
Heading
|
280.0000
|
4.88692
|
|
|
|
|
I not can fast check your work.
|
|
|
|
|
|
|
|
|
I see bearing. Great! :)
|
|
Results
|
|
|
|
|
|
|
You and i make real innovations :)
|
|
Ending Point
|
|
|
|
|
|
|
|
|
Latitude
|
57.8827258889767
|
|
|
|
|
|
I check GEC publication
|
|
Longitude
|
-44.64985
|
|
|
|
|
|
1. All see correctly
|
|
|
|
|
|
|
|
|
2. NL with refresh 4 sec - maybe make this
|
|
|
|
|
|
|
|
|
Oncy or onExpiration.
|
|
Start
|
0,0,5000
|
|
|
|
|
|
|
|
End
|
-44.6498542405426,57.8827258889767,5000
|
|
|
|
|
|
|
|
|
0,0,5000 -44.6498542405426,57.8827258889767,5000
|
|
|
|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?> <kml xmlns=" http://earth.google.com/kml/2.1"><Document><Placemark><name>Origin</name><Point> <coordinates> 0,0,5000 </coordinates> </Point></Placemark><Placemark><name>Destination</name><Point><coordinates> -44.6498542405426,57.8827258889767,5000 </coordinates> </Point></Placemark><Placemark><LineString><tessellate>1</tessellate> <coordinates>0,0,5000 -44.6498542405426,57.8827258889767,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> 0,0,5000 </coordinates> </Point></Placemark><Placemark><name>Destination</name><Point><coordinates> -44.6498542405426,57.8827258889767,5000 </coordinates> </Point></Placemark><Placemark><LineString><tessellate>1</tessellate> <coordinates>0,0,5000 -44.6498542405426,57.8827258889767,5000 </coordinates> </LineString></Placemark></Document> </kml>
|
|
|
|
|
|
|
|
|