<?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: WGS to UTM, UTM to WGS conversions, geo distance, azimuth and other geographical calculations in C#</title>
	<atom:link href="http://khason.net/blog/wgs-to-utm-utm-to-wgs-conversions-geo-distance-azimuth-and-other-geographical-calculations-in-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://khason.net/blog/wgs-to-utm-utm-to-wgs-conversions-geo-distance-azimuth-and-other-geographical-calculations-in-c/</link>
	<description>Take care of the sense, and the sounds will take care of themselves.</description>
	<lastBuildDate>Fri, 18 May 2012 08:56:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Florine Hung</title>
		<link>http://khason.net/blog/wgs-to-utm-utm-to-wgs-conversions-geo-distance-azimuth-and-other-geographical-calculations-in-c/comment-page-1/#comment-3564</link>
		<dc:creator>Florine Hung</dc:creator>
		<pubDate>Fri, 15 Jan 2010 00:57:06 +0000</pubDate>
		<guid isPermaLink="false">http://khason.net/blog/wgs-to-utm-utm-to-wgs-conversions-geo-distance-azimuth-and-other-geographical-calculations-in-c/#comment-3564</guid>
		<description>Wow, discovered your webpage on Yahoo!.Happy I finally tested it out. Not sure if its my Safari browser,but sometimes when I visit your site, the fonts are really tiny? However, love your webpage and will check back.Bye</description>
		<content:encoded><![CDATA[<p>Wow, discovered your webpage on Yahoo!.Happy I finally tested it out. Not sure if its my Safari browser,but sometimes when I visit your site, the fonts are really tiny? However, love your webpage and will check back.Bye</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jader Dias</title>
		<link>http://khason.net/blog/wgs-to-utm-utm-to-wgs-conversions-geo-distance-azimuth-and-other-geographical-calculations-in-c/comment-page-1/#comment-3089</link>
		<dc:creator>Jader Dias</dc:creator>
		<pubDate>Fri, 26 Jun 2009 19:45:44 +0000</pubDate>
		<guid isPermaLink="false">http://khason.net/blog/wgs-to-utm-utm-to-wgs-conversions-geo-distance-azimuth-and-other-geographical-calculations-in-c/#comment-3089</guid>
		<description>I tested your azimuth formula for all those angles: 0, 45, 90, 135, 180, 225, 270, 315. And sadly it didn&#039;t work. Here&#039;s my formula:

        public double GetAzimuth(LatLng destination)
        {
            var longitudinalDifference = destination.Lng - this.Lng;
            var latitudinalDifference = destination.Lat - this.Lat;
            var azimuth = 0d;
            if (latitudinalDifference == 0)
            {
                if (longitudinalDifference != 0)
                {
                    azimuth = Math.PI / 2d;
                }
            }
            else
            {
                if (latitudinalDifference &lt; 0 &amp;&amp; longitudinalDifference == 0)
                {
                    azimuth = Math.PI;
                }
                else
                {
                    azimuth = Math.Atan(longitudinalDifference / latitudinalDifference);
                }
            }
            if (azimuth &lt; 0)
            {
                azimuth += Math.PI;
            }
            if (longitudinalDifference &lt; 0)
            {
                azimuth += Math.PI;
            }
            return azimuth;
        }

        public double GetDegreesAzimuth(LatLng destination)
        {
            return RadiansToDegreesConversionFactor * GetAzimuth(destination);
        }</description>
		<content:encoded><![CDATA[<p>I tested your azimuth formula for all those angles: 0, 45, 90, 135, 180, 225, 270, 315. And sadly it didn&#8217;t work. Here&#8217;s my formula:</p>
<p>        public double GetAzimuth(LatLng destination)<br />
        {<br />
            var longitudinalDifference = destination.Lng &#8211; this.Lng;<br />
            var latitudinalDifference = destination.Lat &#8211; this.Lat;<br />
            var azimuth = 0d;<br />
            if (latitudinalDifference == 0)<br />
            {<br />
                if (longitudinalDifference != 0)<br />
                {<br />
                    azimuth = Math.PI / 2d;<br />
                }<br />
            }<br />
            else<br />
            {<br />
                if (latitudinalDifference &lt; 0 &amp;&amp; longitudinalDifference == 0)<br />
                {<br />
                    azimuth = Math.PI;<br />
                }<br />
                else<br />
                {<br />
                    azimuth = Math.Atan(longitudinalDifference / latitudinalDifference);<br />
                }<br />
            }<br />
            if (azimuth &lt; 0)<br />
            {<br />
                azimuth += Math.PI;<br />
            }<br />
            if (longitudinalDifference &lt; 0)<br />
            {<br />
                azimuth += Math.PI;<br />
            }<br />
            return azimuth;<br />
        }</p>
<p>        public double GetDegreesAzimuth(LatLng destination)<br />
        {<br />
            return RadiansToDegreesConversionFactor * GetAzimuth(destination);<br />
        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tamir</title>
		<link>http://khason.net/blog/wgs-to-utm-utm-to-wgs-conversions-geo-distance-azimuth-and-other-geographical-calculations-in-c/comment-page-1/#comment-1981</link>
		<dc:creator>Tamir</dc:creator>
		<pubDate>Thu, 08 Jan 2009 15:47:40 +0000</pubDate>
		<guid isPermaLink="false">http://khason.net/blog/wgs-to-utm-utm-to-wgs-conversions-geo-distance-azimuth-and-other-geographical-calculations-in-c/#comment-1981</guid>
		<description>This is a part of another project, so I cannot post all sources. However this article includes all necessary information for you to start using it.</description>
		<content:encoded><![CDATA[<p>This is a part of another project, so I cannot post all sources. However this article includes all necessary information for you to start using it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob G</title>
		<link>http://khason.net/blog/wgs-to-utm-utm-to-wgs-conversions-geo-distance-azimuth-and-other-geographical-calculations-in-c/comment-page-1/#comment-1978</link>
		<dc:creator>Rob G</dc:creator>
		<pubDate>Thu, 08 Jan 2009 14:28:40 +0000</pubDate>
		<guid isPermaLink="false">http://khason.net/blog/wgs-to-utm-utm-to-wgs-conversions-geo-distance-azimuth-and-other-geographical-calculations-in-c/#comment-1978</guid>
		<description>Can you post the VS project/code from yuor blog post: WGS to UTM, UTM to WGS conversions, geo distance, azimuth and other geographical calculations in C# 
http://khason.net/blog/wgs-to-utm-utm-to-wgs-conversions-geo-distance-azimuth-and-other-geographical-calculations-in-c/</description>
		<content:encoded><![CDATA[<p>Can you post the VS project/code from yuor blog post: WGS to UTM, UTM to WGS conversions, geo distance, azimuth and other geographical calculations in C#<br />
<a href="http://khason.net/blog/wgs-to-utm-utm-to-wgs-conversions-geo-distance-azimuth-and-other-geographical-calculations-in-c/" rel="nofollow">http://khason.net/blog/wgs-to-utm-utm-to-wgs-conversions-geo-distance-azimuth-and-other-geographical-calculations-in-c/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DotNetKicks.com</title>
		<link>http://khason.net/blog/wgs-to-utm-utm-to-wgs-conversions-geo-distance-azimuth-and-other-geographical-calculations-in-c/comment-page-1/#comment-1643</link>
		<dc:creator>DotNetKicks.com</dc:creator>
		<pubDate>Thu, 01 Jan 2009 08:57:04 +0000</pubDate>
		<guid isPermaLink="false">http://khason.net/blog/wgs-to-utm-utm-to-wgs-conversions-geo-distance-azimuth-and-other-geographical-calculations-in-c/#comment-1643</guid>
		<description>&lt;p&gt;You&#039;ve been kicked (a good thing) - Trackback from DotNetKicks.com&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You&#8217;ve been kicked (a good thing) &#8211; Trackback from DotNetKicks.com</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charles</title>
		<link>http://khason.net/blog/wgs-to-utm-utm-to-wgs-conversions-geo-distance-azimuth-and-other-geographical-calculations-in-c/comment-page-1/#comment-1642</link>
		<dc:creator>charles</dc:creator>
		<pubDate>Thu, 01 Jan 2009 08:57:03 +0000</pubDate>
		<guid isPermaLink="false">http://khason.net/blog/wgs-to-utm-utm-to-wgs-conversions-geo-distance-azimuth-and-other-geographical-calculations-in-c/#comment-1642</guid>
		<description>&lt;p&gt;public static GeoPoint MapLatLonToXY(double phi, double lambda, double lambda0)&lt;/p&gt;
&lt;p&gt;what is &quot;phi&quot;? 1.618... or 3,1415... ??&lt;/p&gt;
&lt;p&gt;what is &quot;lambda&quot; and &quot;lambda0&quot; that I have to pass as parameter?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>public static GeoPoint MapLatLonToXY(double phi, double lambda, double lambda0)</p>
<p>what is &quot;phi&quot;? 1.618&#8230; or 3,1415&#8230; ??</p>
<p>what is &quot;lambda&quot; and &quot;lambda0&quot; that I have to pass as parameter?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

