<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Java, GPS Receivers, and Geocaching: Vincenty’s Formula</title>
	<atom:link href="http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincentys-formula/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincentys-formula/</link>
	<description>Mike Gavaghan blogs on Java, C#, .Net, and the software industry</description>
	<lastBuildDate>Fri, 03 Sep 2010 16:52:29 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: rick</title>
		<link>http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincentys-formula/comment-page-1/#comment-830</link>
		<dc:creator>rick</dc:creator>
		<pubDate>Fri, 07 May 2010 12:15:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincenty%e2%80%99s-formula/#comment-830</guid>
		<description>That makes perfect sense - thanks. 

rick</description>
		<content:encoded><![CDATA[<p>That makes perfect sense &#8211; thanks. </p>
<p>rick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Gavaghan</title>
		<link>http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincentys-formula/comment-page-1/#comment-829</link>
		<dc:creator>Mike Gavaghan</dc:creator>
		<pubDate>Thu, 06 May 2010 19:41:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincenty%e2%80%99s-formula/#comment-829</guid>
		<description>Hi Rick,

The reason is because the shortest path between two points at the same latitude doesn&#039;t follow the latitudinal line (unless you&#039;re on the equator).  If you&#039;re not on the equator, the shortest path will bow out toward the nearest pole.

Try GlobalPosition(45, 100, 0.0) and GlobalPosition(45, 101, 0.0).  Because these points are very close, the azimuth is 89.65 (very nearly 90).

Now, try GlobalPosition(45, 100, 0.0) and GlobalPosition(45, -75, 0.0).  These two points are on nearly opposite sides.  The azimuth is 3.53.  In order words, the shortest path takes you right by the north pole.

Make sense?

--Mike</description>
		<content:encoded><![CDATA[<p>Hi Rick,</p>
<p>The reason is because the shortest path between two points at the same latitude doesn&#8217;t follow the latitudinal line (unless you&#8217;re on the equator).  If you&#8217;re not on the equator, the shortest path will bow out toward the nearest pole.</p>
<p>Try GlobalPosition(45, 100, 0.0) and GlobalPosition(45, 101, 0.0).  Because these points are very close, the azimuth is 89.65 (very nearly 90).</p>
<p>Now, try GlobalPosition(45, 100, 0.0) and GlobalPosition(45, -75, 0.0).  These two points are on nearly opposite sides.  The azimuth is 3.53.  In order words, the shortest path takes you right by the north pole.</p>
<p>Make sense?</p>
<p>&#8211;Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rick</title>
		<link>http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincentys-formula/comment-page-1/#comment-828</link>
		<dc:creator>rick</dc:creator>
		<pubDate>Thu, 06 May 2010 01:37:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincenty%e2%80%99s-formula/#comment-828</guid>
		<description>I used the Geodetic Calculator to determine the azimuth given 2 points at the same latitude using the WGS84 ellipsoid:
GlobalPosition(45, 100, 0.0);
GlobalPosition(45, 140, 0.0); 

However, the azimuth returned was not 90 degrees as I expected, but about 75 degrees. As I change the longitude, I get different angles for the azimuth. Maybe I don&#039;t understand this correctly, but the answer seems counter-intuitive. Could someone explain?

thanks

rick</description>
		<content:encoded><![CDATA[<p>I used the Geodetic Calculator to determine the azimuth given 2 points at the same latitude using the WGS84 ellipsoid:<br />
GlobalPosition(45, 100, 0.0);<br />
GlobalPosition(45, 140, 0.0); </p>
<p>However, the azimuth returned was not 90 degrees as I expected, but about 75 degrees. As I change the longitude, I get different angles for the azimuth. Maybe I don&#8217;t understand this correctly, but the answer seems counter-intuitive. Could someone explain?</p>
<p>thanks</p>
<p>rick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincentys-formula/comment-page-1/#comment-254</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 16 Feb 2010 20:04:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincenty%e2%80%99s-formula/#comment-254</guid>
		<description>I tried the GeodeticCalculator for use with Nasa&#039;s open source WorldWindJava and after a quick set of tests that converted WorldWind Java&#039;s LatLon, Position and Angle to the correct input required by the GeodeticCalculator  the results were very accurate.</description>
		<content:encoded><![CDATA[<p>I tried the GeodeticCalculator for use with Nasa&#8217;s open source WorldWindJava and after a quick set of tests that converted WorldWind Java&#8217;s LatLon, Position and Angle to the correct input required by the GeodeticCalculator  the results were very accurate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacky</title>
		<link>http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincentys-formula/comment-page-1/#comment-234</link>
		<dc:creator>Jacky</dc:creator>
		<pubDate>Fri, 02 Oct 2009 07:10:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincenty%e2%80%99s-formula/#comment-234</guid>
		<description>This API is awesome. Very useful for me. Can I include this API in my system? Does any license I need follow?</description>
		<content:encoded><![CDATA[<p>This API is awesome. Very useful for me. Can I include this API in my system? Does any license I need follow?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincentys-formula/comment-page-1/#comment-231</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Thu, 20 Aug 2009 14:38:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincenty%e2%80%99s-formula/#comment-231</guid>
		<description>Can I use this code to add a certain distance to a coordinate? So calculating a coordinate that is e.g. 100miles north of a given coordinate?</description>
		<content:encoded><![CDATA[<p>Can I use this code to add a certain distance to a coordinate? So calculating a coordinate that is e.g. 100miles north of a given coordinate?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincentys-formula/comment-page-1/#comment-209</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Tue, 18 Nov 2008 14:32:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincenty%e2%80%99s-formula/#comment-209</guid>
		<description>My complete apologies, there is nothing wrong with either your or my code implementation. I&#039;m just a brainless idiot who has spent far too long looking for a big problem when a minus sign should have been obvious. Sorry.

Paul</description>
		<content:encoded><![CDATA[<p>My complete apologies, there is nothing wrong with either your or my code implementation. I&#8217;m just a brainless idiot who has spent far too long looking for a big problem when a minus sign should have been obvious. Sorry.</p>
<p>Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paul</title>
		<link>http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincentys-formula/comment-page-1/#comment-208</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Mon, 17 Nov 2008 17:05:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.gavaghan.org/blog/2007/11/16/java-gps-receivers-and-geocaching-vincenty%e2%80%99s-formula/#comment-208</guid>
		<description>Hi,
  Yours is the only c# implementation of Vincenty&#039;s direct formula that I&#039;ve come across on the net and I&#039;ve a little problem that you might be able to help me with. Before I found this implementation I recoded the NGS downloadable fortan into c# myself and while both my and your implementations both work to give the same results, I&#039;m finding them wrong and am wondering if you might know what the problem could be. I&#039;m a PhD student in Ireland, Europe and if I enter the following simple values into either my or your implementation I get the same results to 10 decimal places, these are wrong though. However, if I enter these values into the NGS online calculator I get the correct results - http://www.ngs.noaa.gov/cgi-bin/Inv_Fwd/forward2.prl . Our implementations are producing an incorrect Longitude and I can&#039;t seem to isolate the problem.
Values:
Latitude: 53.387125N
Longitude: 6.58569W
Azimuth: 218.512579
Distance: 59.352571

Any help you might be able to offer would be greatly appreciated.
Thanks in advance.

Paul</description>
		<content:encoded><![CDATA[<p>Hi,<br />
  Yours is the only c# implementation of Vincenty&#8217;s direct formula that I&#8217;ve come across on the net and I&#8217;ve a little problem that you might be able to help me with. Before I found this implementation I recoded the NGS downloadable fortan into c# myself and while both my and your implementations both work to give the same results, I&#8217;m finding them wrong and am wondering if you might know what the problem could be. I&#8217;m a PhD student in Ireland, Europe and if I enter the following simple values into either my or your implementation I get the same results to 10 decimal places, these are wrong though. However, if I enter these values into the NGS online calculator I get the correct results &#8211; <a href="http://www.ngs.noaa.gov/cgi-bin/Inv_Fwd/forward2.prl" rel="nofollow">http://www.ngs.noaa.gov/cgi-bin/Inv_Fwd/forward2.prl</a> . Our implementations are producing an incorrect Longitude and I can&#8217;t seem to isolate the problem.<br />
Values:<br />
Latitude: 53.387125N<br />
Longitude: 6.58569W<br />
Azimuth: 218.512579<br />
Distance: 59.352571</p>
<p>Any help you might be able to offer would be greatly appreciated.<br />
Thanks in advance.</p>
<p>Paul</p>
]]></content:encoded>
	</item>
</channel>
</rss>
