<?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: How to Calculate a centerpoint between different lines in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-calculate-a-centerpoint-between-different/m-p/622899#M58158</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might help.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://codepen.io/odoe/pen/qyBMZe?editors=0010" title="https://codepen.io/odoe/pen/qyBMZe?editors=0010"&gt;geom-engine-center-multi-lines&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get the extent of each line, use the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#union"&gt;GeometryEngine to union&lt;/A&gt; the lines and then get the center of that unioned results extent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jul 2018 17:26:33 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2018-07-10T17:26:33Z</dc:date>
    <item>
      <title>How to Calculate a centerpoint between different lines</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-calculate-a-centerpoint-between-different/m-p/622898#M58157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to Calculate a centerpoint between different lines as in image,&lt;/P&gt;&lt;P&gt;lines can be multiple and uneven structures&lt;/P&gt;&lt;P&gt;Any help greatly appreciated&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/413727_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 14:19:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-calculate-a-centerpoint-between-different/m-p/622898#M58157</guid>
      <dc:creator>Pa_Lotus</dc:creator>
      <dc:date>2018-07-10T14:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to Calculate a centerpoint between different lines</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-calculate-a-centerpoint-between-different/m-p/622899#M58158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might help.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://codepen.io/odoe/pen/qyBMZe?editors=0010" title="https://codepen.io/odoe/pen/qyBMZe?editors=0010"&gt;geom-engine-center-multi-lines&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get the extent of each line, use the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#union"&gt;GeometryEngine to union&lt;/A&gt; the lines and then get the center of that unioned results extent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 17:26:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-calculate-a-centerpoint-between-different/m-p/622899#M58158</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2018-07-10T17:26:33Z</dc:date>
    </item>
  </channel>
</rss>

