<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: lat long to Projection Co-ords (meters) in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/lat-long-to-projection-co-ords-meters/m-p/206556#M5122</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That worked like a charm, thank you for helping the mathematically challenged.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mat&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jan 2011 20:03:09 GMT</pubDate>
    <dc:creator>MatPeek</dc:creator>
    <dc:date>2011-01-10T20:03:09Z</dc:date>
    <item>
      <title>lat long to Projection Co-ords (meters)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/lat-long-to-projection-co-ords-meters/m-p/206554#M5120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the opposite problem of this thread: &lt;/SPAN&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2455&amp;amp;t=280701"&gt;http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2455&amp;amp;t=280701&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My math is terrible I am sorry - I'd be grateful if someone could please re-arrange to lat equation to get the meters value on the LHS (I have tried I promise).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;double latitude = (Math.PI / 2) - (2 * Math.Atan(Math.Exp(-1.0 * y / wgs84EarthRadius)));&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mat.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jan 2011 01:34:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/lat-long-to-projection-co-ords-meters/m-p/206554#M5120</guid>
      <dc:creator>MatPeek</dc:creator>
      <dc:date>2011-01-10T01:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: lat long to Projection Co-ords (meters)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/lat-long-to-projection-co-ords-meters/m-p/206555#M5121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN style="color: black;"&gt;By reversing the formula we get &lt;/SPAN&gt;&lt;SPAN style="color:black;"&gt;&lt;SPAN style="font-family:Arial;"&gt;:&lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-family:Arial;"&gt;var y = -wgs84EarthRadius * Math.Log(Math.Tan((Math.PI / 2 - latitude)/2.0));&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;Then knowing that Tan&lt;SPAN style="font-size: 3; font-family: Arial;"&gt;²&lt;/SPAN&gt;(x/2) = (1 - cos(x)) / (1+cos(x)), we can simplify to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; var y = wgs84EarthRadius / 2.0 * Math.Log((1.0 + Math.Sin(latitude)) / (1.0 - Math.Sin(latitude)));
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Note : latitude in radians&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:12:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/lat-long-to-projection-co-ords-meters/m-p/206555#M5121</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2021-12-11T10:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: lat long to Projection Co-ords (meters)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/lat-long-to-projection-co-ords-meters/m-p/206556#M5122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That worked like a charm, thank you for helping the mathematically challenged.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mat&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jan 2011 20:03:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/lat-long-to-projection-co-ords-meters/m-p/206556#M5122</guid>
      <dc:creator>MatPeek</dc:creator>
      <dc:date>2011-01-10T20:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: lat long to Projection Co-ords (meters)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/lat-long-to-projection-co-ords-meters/m-p/206557#M5123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This website is really useful for most spherical geometry calculations: &lt;/SPAN&gt;&lt;A href="http://williams.best.vwh.net/avform.htm"&gt;http://williams.best.vwh.net/avform.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jan 2011 22:24:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/lat-long-to-projection-co-ords-meters/m-p/206557#M5123</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2011-01-10T22:24:01Z</dc:date>
    </item>
  </channel>
</rss>

