<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Introduction to Mercator Projections, Latitude and Longitude</title>
	<atom:link href="http://flashlabs.wordpress.com/2011/03/05/introduction-to-mercator-projections-latitude-and-longitude/feed/" rel="self" type="application/rss+xml" />
	<link>http://flashlabs.wordpress.com/2011/03/05/introduction-to-mercator-projections-latitude-and-longitude/</link>
	<description>Swingpant&#039;s Code Nurdlings</description>
	<lastBuildDate>Thu, 08 Nov 2012 04:03:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Alex Nino</title>
		<link>http://flashlabs.wordpress.com/2011/03/05/introduction-to-mercator-projections-latitude-and-longitude/#comment-497</link>
		<dc:creator><![CDATA[Alex Nino]]></dc:creator>
		<pubDate>Mon, 05 Sep 2011 10:18:45 +0000</pubDate>
		<guid isPermaLink="false">http://swingpants.com/?p=360#comment-497</guid>
		<description><![CDATA[Hi! this is quite interesting, a while ago I&#039;ve been working in a project (PeopleMundi for playbook and android) and I was facing a situation similar to this, I found similar approaches like convertLatLonTo3DPos, and unfortunatelly they are very slow in term of performance... instead I end up using a provisional stencil buffer which works about 10x times faster by making the reverse 3d projection equation. have a look on it in action http://www.yoambulante.com/en/labs/FixPlanetEarth/ the playbook and android version runs at solid 30fps using this technique, I hope it helps, looking forward to have a beer at FOTB11, cheers!]]></description>
		<content:encoded><![CDATA[<p>Hi! this is quite interesting, a while ago I&#8217;ve been working in a project (PeopleMundi for playbook and android) and I was facing a situation similar to this, I found similar approaches like convertLatLonTo3DPos, and unfortunatelly they are very slow in term of performance&#8230; instead I end up using a provisional stencil buffer which works about 10x times faster by making the reverse 3d projection equation. have a look on it in action <a href="http://www.yoambulante.com/en/labs/FixPlanetEarth/" rel="nofollow">http://www.yoambulante.com/en/labs/FixPlanetEarth/</a> the playbook and android version runs at solid 30fps using this technique, I hope it helps, looking forward to have a beer at FOTB11, cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dotNetFollower</title>
		<link>http://flashlabs.wordpress.com/2011/03/05/introduction-to-mercator-projections-latitude-and-longitude/#comment-447</link>
		<dc:creator><![CDATA[dotNetFollower]]></dc:creator>
		<pubDate>Sat, 30 Jul 2011 19:53:56 +0000</pubDate>
		<guid isPermaLink="false">http://swingpants.com/?p=360#comment-447</guid>
		<description><![CDATA[Hello!

I use the pure mathematical method to convert Mercator Sphere coordinates to latitude and longitude. 

I needed it in JavaScript and implemented it in the following way:
function MercatorToLatLon(mercX, mercY) {
 
    var rMajor = 6378137; //Equatorial Radius, WGS84
    var shift  = Math.PI * rMajor;
    var lon    = mercX / shift * 180.0;
    var lat    = mercY / shift * 180.0;
    lat = 180 / Math.PI * (2 * Math.atan(Math.exp(lat * Math.PI / 180.0)) - Math.PI / 2.0);
 
    return { &#039;Lon&#039;: lon, &#039;Lat&#039;: lat };
}
You can read it up in my blog (&lt;a href=&quot;http://dotnetfollower.com/wordpress/2011/07/javascript-how-to-convert-mercator-sphere-coordinates-to-latitude-and-longitude/&quot; rel=&quot;nofollow&quot;&gt;http://dotnetfollower.com/wordpress/2011/07/javascript-how-to-convert-mercator-sphere-coordinates-to-latitude-and-longitude/&lt;/a&gt;) at greater length.

Thanks!]]></description>
		<content:encoded><![CDATA[<p>Hello!</p>
<p>I use the pure mathematical method to convert Mercator Sphere coordinates to latitude and longitude. </p>
<p>I needed it in JavaScript and implemented it in the following way:<br />
function MercatorToLatLon(mercX, mercY) {</p>
<p>    var rMajor = 6378137; //Equatorial Radius, WGS84<br />
    var shift  = Math.PI * rMajor;<br />
    var lon    = mercX / shift * 180.0;<br />
    var lat    = mercY / shift * 180.0;<br />
    lat = 180 / Math.PI * (2 * Math.atan(Math.exp(lat * Math.PI / 180.0)) &#8211; Math.PI / 2.0);</p>
<p>    return { &#8216;Lon&#8217;: lon, &#8216;Lat&#8217;: lat };<br />
}<br />
You can read it up in my blog (<a href="http://dotnetfollower.com/wordpress/2011/07/javascript-how-to-convert-mercator-sphere-coordinates-to-latitude-and-longitude/" rel="nofollow">http://dotnetfollower.com/wordpress/2011/07/javascript-how-to-convert-mercator-sphere-coordinates-to-latitude-and-longitude/</a>) at greater length.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: swingpants</title>
		<link>http://flashlabs.wordpress.com/2011/03/05/introduction-to-mercator-projections-latitude-and-longitude/#comment-347</link>
		<dc:creator><![CDATA[swingpants]]></dc:creator>
		<pubDate>Sat, 05 Mar 2011 21:30:19 +0000</pubDate>
		<guid isPermaLink="false">http://swingpants.com/?p=360#comment-347</guid>
		<description><![CDATA[I shall be expanding on MP in future posts. 

For expediency here is a raw projection:

    new Point(point.x, Math.log(Math.tan(0.25 * Math.PI + 0.5 * point.y)));

and the raw un-projection:

    new Point(point.x, 2 * Math.atan(Math.pow(Math.E, point.y)) - 0.5 * Math.PI);

For more mathematical detail see: http://mathworld.wolfram.com/MercatorProjection.html]]></description>
		<content:encoded><![CDATA[<p>I shall be expanding on MP in future posts. </p>
<p>For expediency here is a raw projection:</p>
<p>    new Point(point.x, Math.log(Math.tan(0.25 * Math.PI + 0.5 * point.y)));</p>
<p>and the raw un-projection:</p>
<p>    new Point(point.x, 2 * Math.atan(Math.pow(Math.E, point.y)) &#8211; 0.5 * Math.PI);</p>
<p>For more mathematical detail see: <a href="http://mathworld.wolfram.com/MercatorProjection.html" rel="nofollow">http://mathworld.wolfram.com/MercatorProjection.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: makc</title>
		<link>http://flashlabs.wordpress.com/2011/03/05/introduction-to-mercator-projections-latitude-and-longitude/#comment-346</link>
		<dc:creator><![CDATA[makc]]></dc:creator>
		<pubDate>Sat, 05 Mar 2011 15:07:39 +0000</pubDate>
		<guid isPermaLink="false">http://swingpants.com/?p=360#comment-346</guid>
		<description><![CDATA[Due to limited bandwidth we had to omit Mercator projection itself from the post. Management.]]></description>
		<content:encoded><![CDATA[<p>Due to limited bandwidth we had to omit Mercator projection itself from the post. Management.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
