<?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 find the point where two polylines intersect?? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-point-where-two-polylines/m-p/166718#M15466</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Take a look at this thread for some details:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/180187"&gt;https://community.esri.com/thread/180187&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jan 2017 20:59:17 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2017-01-12T20:59:17Z</dc:date>
    <item>
      <title>How to find the point where two polylines intersect??</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-point-where-two-polylines/m-p/166717#M15465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In my client, I have two polylines.&amp;nbsp; I need to find the point where both lines intersect.&amp;nbsp; I thought that I had found a way to find that out by using the esri.geometry.getLineIntersection(pt, pt, pt, pt), which takes the starting and ending points of each lines.&amp;nbsp; That does in fact return a single point at the intersection, but the problem is that the function calculates all of the intersections as if both lines would continue forever.&amp;nbsp; Since one of the polylines will have multiple line segments going in various directions, the getLineIntersection returns multiple points, even though both lines only crossed once.&amp;nbsp; The function does not take into consideration the length of the line in order to determine if an intersection takes place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know&amp;nbsp;there another way to do this so that I only get the one single intersection point?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My specs: The solution needs to be client-based (JavaScript API) using the Esri JavaScript v3.9 API (I know it is an older API but I cannot upgrade).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it can't be done with my specs, then that is fine.&amp;nbsp; At least I would know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any thoughts - Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 20:05:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-point-where-two-polylines/m-p/166717#M15465</guid>
      <dc:creator>PeterLen</dc:creator>
      <dc:date>2017-01-12T20:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the point where two polylines intersect??</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-point-where-two-polylines/m-p/166718#M15466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Take a look at this thread for some details:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/180187"&gt;https://community.esri.com/thread/180187&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 20:59:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-point-where-two-polylines/m-p/166718#M15466</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-01-12T20:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the point where two polylines intersect??</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-point-where-two-polylines/m-p/166719#M15467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert - Thanks for the response.&amp;nbsp; I had previously come across that post.&amp;nbsp; The problem is that the GeometryEngine was not available until v3.13 of the Esri Javascript API and I am stuck using v3.9.&amp;nbsp; Thanks for looking - Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 00:56:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-point-where-two-polylines/m-p/166719#M15467</guid>
      <dc:creator>PeterLen</dc:creator>
      <dc:date>2017-01-13T00:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the point where two polylines intersect??</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-point-where-two-polylines/m-p/166720#M15468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;What you are looking for exactly is not even available no at 3.19. Notice that Kristen says they will look at the ability to output a point in the future for now the intersect outputs a line from to input lines. Also you can use the GeometryService.intersect you do not need the GeometryEngine for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 01:22:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-point-where-two-polylines/m-p/166720#M15468</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-01-13T01:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the point where two polylines intersect??</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-point-where-two-polylines/m-p/166721#M15469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert - I was looking at the GeometryService.intersect.&amp;nbsp; I must be missing something because in the callback, I do get an object that contains a geometry array.&amp;nbsp; Inside of that, however, are one or more objects that have a type of polyline but no paths, so I don't see it returning any actual geometries.&amp;nbsp; I may be missing something on how it is to be used, but it looks like that service will return a polyline(s), which is not what I am looking for.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 02:19:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-point-where-two-polylines/m-p/166721#M15469</guid>
      <dc:creator>PeterLen</dc:creator>
      <dc:date>2017-01-13T02:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the point where two polylines intersect??</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-point-where-two-polylines/m-p/166722#M15470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Yep that is what the other thread was mainly about the fact that the GeometryService.intersect using lines as input will return a line instead of a point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 02:49:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-the-point-where-two-polylines/m-p/166722#M15470</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-01-13T02:49:21Z</dc:date>
    </item>
  </channel>
</rss>

