<?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: Problem converting projected coordinates to webmercator in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-converting-projected-coordinates-to/m-p/44723#M3870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply. I was hoping for a more ready built solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I managed to use some of the examples available on the ArcGIS site in order to convert my coordinates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Christian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2012 05:24:49 GMT</pubDate>
    <dc:creator>ChristianLindholm</dc:creator>
    <dc:date>2012-08-28T05:24:49Z</dc:date>
    <item>
      <title>Problem converting projected coordinates to webmercator</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-converting-projected-coordinates-to/m-p/44721#M3868</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'm having a problem converting my coordinates in the Finnish KKJ2 coordinate system (i.e. Finland_Zone_2, wkid 2392) to webmercator in order to plot points on my map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to do this with the code&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;esri.geometry.geographicToWebMercator(new esri.geometry.Point(east, north, new esri.SpatialReference(2392)))&lt;/PRE&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No matter what spatial reference I put in the code, it appears that arcgis assumes the coordinates are given in WGS84. It does not matter what wkid i put in my code, my points end up on the exact same location on the map regardless of the wkid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where should I start looking for a solution?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Christian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 09:45:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-converting-projected-coordinates-to/m-p/44721#M3868</guid>
      <dc:creator>ChristianLindholm</dc:creator>
      <dc:date>2012-08-22T09:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem converting projected coordinates to webmercator</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-converting-projected-coordinates-to/m-p/44722#M3869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Christian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure there is an easy way in Javascript for converting local geographic coordinates into projected coordinates. Having problems of converting WGS84 to Lambert 72 (31370), I wrote a number of javascript methods that did the job. One of the methods was the conversion between geographic and projected coordinates for Lambert 72. I think you will need something simular.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After some research, I used the conic conformal 2SP (Belgium) method, you will need 'JHS formulas' that can be found in the document &lt;/SPAN&gt;&lt;A href="http://www.epsg.org/guides/docs/G7-2.pdf"&gt;http://www.epsg.org/guides/docs/G7-2.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can find a lot of documentation and code on a blog I wrote concerning conversions of projections in Javascript. First document is about the architecture. Second document contains the code. I hope the documents are easy readable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://jpenet.blogspot.be/2012/08/transformation-between-datums-in.html"&gt;http://jpenet.blogspot.be/2012/08/transformation-between-datums-in.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Johnny&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 10:31:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-converting-projected-coordinates-to/m-p/44722#M3869</guid>
      <dc:creator>JohnnyPenet</dc:creator>
      <dc:date>2012-08-22T10:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem converting projected coordinates to webmercator</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-converting-projected-coordinates-to/m-p/44723#M3870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply. I was hoping for a more ready built solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I managed to use some of the examples available on the ArcGIS site in order to convert my coordinates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Christian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 05:24:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-converting-projected-coordinates-to/m-p/44723#M3870</guid>
      <dc:creator>ChristianLindholm</dc:creator>
      <dc:date>2012-08-28T05:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem converting projected coordinates to webmercator</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-converting-projected-coordinates-to/m-p/44724#M3871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think that you should use a geometry service&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/util_project.html" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/util_project.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 06:42:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-converting-projected-coordinates-to/m-p/44724#M3871</guid>
      <dc:creator>DavideLimosani</dc:creator>
      <dc:date>2012-08-28T06:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem converting projected coordinates to webmercator</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-converting-projected-coordinates-to/m-p/44725#M3872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to&amp;nbsp;output coordinates other than Web Mercator or WGS 1984 latitude / longitude with the Javascript API, not using a geometry service?&amp;nbsp;esri/geometry/webMercatorUtils offers the Web Mercator and WGS 1984&amp;nbsp;conversions. I am interested in outputting coordinates to a projected state plane system. I briefly looked over the documentation but did not find an answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the documentation for the webMercatorUtils (version 3.x)&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jsapi/esri.geometry.webmercatorutils-amd.html" title="https://developers.arcgis.com/javascript/3/jsapi/esri.geometry.webmercatorutils-amd.html"&gt;esri/geometry/webMercatorUtils | API Reference | ArcGIS API for JavaScript 3.22&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for any help,&lt;/P&gt;&lt;P&gt;Paul Lohr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 12:08:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-converting-projected-coordinates-to/m-p/44725#M3872</guid>
      <dc:creator>PaulLohr</dc:creator>
      <dc:date>2017-10-11T12:08:08Z</dc:date>
    </item>
  </channel>
</rss>

