<?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>idea Alternate Coordinate system for Web AppBuilder Measurement widget in ArcGIS Web AppBuilder Ideas</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-ideas/alternate-coordinate-system-for-web-appbuilder/idi-p/1030660</link>
    <description>&lt;P&gt;&lt;STRONG&gt;UPDATE&lt;/STRONG&gt; - when I wrote this yesterday I was not aware that the &lt;A title="FAQ: What method does the Measure tool in the ArcGIS Online map viewer use to create measurements?" href="https://support.esri.com/en/technical-article/000012004" target="_blank" rel="noopener"&gt;Measurement widget uses a geodesic method&lt;/A&gt; to calcualte distances.&amp;nbsp; Therefore we do not have to worry about Web Mercator distorting measurements.&amp;nbsp; But I still believe this Idea is valid for applications that require planar measurements on a local coordinate system instead of geodesic measurements on the ellipsoid.&amp;nbsp; The &lt;A title="Measurement widget documentation" href="https://doc.arcgis.com/en/web-appbuilder/create-apps/widget-measurement.htm" target="_blank" rel="noopener"&gt;WAB Measurement widget documentation&lt;/A&gt; should be updated to clearly state that measurements are geodesic and are not influenced by Web Mercator distortions.&lt;/P&gt;&lt;P&gt;----------------------------------------------------------&lt;/P&gt;&lt;P&gt;Way back in 2010 when Esri adopted Web Mercator for all the Esri published basemaps&amp;nbsp;&lt;A title="Measuring distances and areas when your map uses the Mercator projection" href="https://www.esri.com/arcgis-blog/products/arcgis-enterprise/mapping/measuring-distances-and-areas-when-your-map-uses-the-mercator-projection/" target="_blank" rel="noopener"&gt;they warned us not to make measurements with the Web Mercator&lt;/A&gt; coordinate system:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#999999"&gt;&lt;EM&gt;If you use the new ArcGIS Online services, avoid the temptation to perform measurements of polylines and polygons in Web Mercator.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Esri also gave us a work-a-round with sample code:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#999999"&gt;&lt;EM&gt;Fortunately,&amp;nbsp;you don’t have to perform your measurements in the same coordinate system used by the map. When a user submits a geometry to your application for measurement, you can re-project that geometry into a more appropriate coordinate system for measurement. The re-projected geometry is used internally for measurement only; you don’t display it on the map. Once the measurement is complete, you return the correct result to the user.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My proposal for this "Idea" is to allow the Measurement widget and the Draw widget (or any OOTB WAB widget that performs a measurement) to be configured with an alternate coordinate system that will be used to calculate the distance and area measurements.&amp;nbsp; The widget would default to &lt;STRIKE&gt;the coordinate system of the basemap&lt;/STRIKE&gt;&amp;nbsp;&lt;FONT color="#FF0000"&gt;geodesic calculations for distance and area&lt;/FONT&gt;.&amp;nbsp; But if an alternate coordinate system is provided in the widget config the geometry submitted by the user will be reprojected to the alternate coordinate system before distance, area, or direction calculations are performed.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Feb 2021 21:26:50 GMT</pubDate>
    <dc:creator>berniejconnors</dc:creator>
    <dc:date>2021-02-26T21:26:50Z</dc:date>
    <item>
      <title>Alternate Coordinate system for Web AppBuilder Measurement widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-ideas/alternate-coordinate-system-for-web-appbuilder/idi-p/1030660</link>
      <description>&lt;P&gt;&lt;STRONG&gt;UPDATE&lt;/STRONG&gt; - when I wrote this yesterday I was not aware that the &lt;A title="FAQ: What method does the Measure tool in the ArcGIS Online map viewer use to create measurements?" href="https://support.esri.com/en/technical-article/000012004" target="_blank" rel="noopener"&gt;Measurement widget uses a geodesic method&lt;/A&gt; to calcualte distances.&amp;nbsp; Therefore we do not have to worry about Web Mercator distorting measurements.&amp;nbsp; But I still believe this Idea is valid for applications that require planar measurements on a local coordinate system instead of geodesic measurements on the ellipsoid.&amp;nbsp; The &lt;A title="Measurement widget documentation" href="https://doc.arcgis.com/en/web-appbuilder/create-apps/widget-measurement.htm" target="_blank" rel="noopener"&gt;WAB Measurement widget documentation&lt;/A&gt; should be updated to clearly state that measurements are geodesic and are not influenced by Web Mercator distortions.&lt;/P&gt;&lt;P&gt;----------------------------------------------------------&lt;/P&gt;&lt;P&gt;Way back in 2010 when Esri adopted Web Mercator for all the Esri published basemaps&amp;nbsp;&lt;A title="Measuring distances and areas when your map uses the Mercator projection" href="https://www.esri.com/arcgis-blog/products/arcgis-enterprise/mapping/measuring-distances-and-areas-when-your-map-uses-the-mercator-projection/" target="_blank" rel="noopener"&gt;they warned us not to make measurements with the Web Mercator&lt;/A&gt; coordinate system:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#999999"&gt;&lt;EM&gt;If you use the new ArcGIS Online services, avoid the temptation to perform measurements of polylines and polygons in Web Mercator.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Esri also gave us a work-a-round with sample code:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#999999"&gt;&lt;EM&gt;Fortunately,&amp;nbsp;you don’t have to perform your measurements in the same coordinate system used by the map. When a user submits a geometry to your application for measurement, you can re-project that geometry into a more appropriate coordinate system for measurement. The re-projected geometry is used internally for measurement only; you don’t display it on the map. Once the measurement is complete, you return the correct result to the user.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My proposal for this "Idea" is to allow the Measurement widget and the Draw widget (or any OOTB WAB widget that performs a measurement) to be configured with an alternate coordinate system that will be used to calculate the distance and area measurements.&amp;nbsp; The widget would default to &lt;STRIKE&gt;the coordinate system of the basemap&lt;/STRIKE&gt;&amp;nbsp;&lt;FONT color="#FF0000"&gt;geodesic calculations for distance and area&lt;/FONT&gt;.&amp;nbsp; But if an alternate coordinate system is provided in the widget config the geometry submitted by the user will be reprojected to the alternate coordinate system before distance, area, or direction calculations are performed.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 21:26:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-ideas/alternate-coordinate-system-for-web-appbuilder/idi-p/1030660</guid>
      <dc:creator>berniejconnors</dc:creator>
      <dc:date>2021-02-26T21:26:50Z</dc:date>
    </item>
  </channel>
</rss>

