<?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: Polyline - Nearest point in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polyline-nearest-point/m-p/715453#M18399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Dominique,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found your response intriguing, but I cannot quite follow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How do you project a point to a line segment using Silverlight API 3.1?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Dec 2013 17:36:40 GMT</pubDate>
    <dc:creator>CostasKotzabassis</dc:creator>
    <dc:date>2013-12-09T17:36:40Z</dc:date>
    <item>
      <title>Polyline - Nearest point</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polyline-nearest-point/m-p/715447#M18393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How do I find the location on a polyline that is closest to another point on the map.&amp;nbsp; For a visual of what I am looking for, in the attached PolylinePoint.png I want to obtain the yellow "Nearest Point' location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The geometry task 'DistanceAsync' gets the closest distance between a polyline and point.&amp;nbsp; However, I am looking for that 'Nearest Point' location.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2011 17:41:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polyline-nearest-point/m-p/715447#M18393</guid>
      <dc:creator>PaulHedlund</dc:creator>
      <dc:date>2011-06-21T17:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Polyline - Nearest point</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polyline-nearest-point/m-p/715448#M18394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This can be done easily by client side.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just use dist=Math.Square(a*a+b*b) to calculate every distance between your point and each point on the polyline, then you get the nearest point on the polyline.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 01:06:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polyline-nearest-point/m-p/715448#M18394</guid>
      <dc:creator>wangzhifang</dc:creator>
      <dc:date>2011-06-23T01:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Polyline - Nearest point</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polyline-nearest-point/m-p/715449#M18395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem is I am looking for the nearest location on the polyline.&amp;nbsp; The location may not contain a vertex. (see attached visual)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looping through each vertice and using your forumla would give me the distance from each vertice.&amp;nbsp; But, that is not what I am looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The 'DistanceAsync' task gives me the distance, but for some reason I can't get the polyline nearest location.&amp;nbsp; I would think the value for this would be exposed somewhere.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 01:47:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polyline-nearest-point/m-p/715449#M18395</guid>
      <dc:creator>PaulHedlund</dc:creator>
      <dc:date>2011-06-23T01:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Polyline - Nearest point</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polyline-nearest-point/m-p/715450#M18396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am looking for the samething. I need to find nearest point on the segment. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Were you able to find the solution for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Srav&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 18:35:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polyline-nearest-point/m-p/715450#M18396</guid>
      <dc:creator>Sravan_KumarUddarraju</dc:creator>
      <dc:date>2011-09-09T18:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Polyline - Nearest point</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polyline-nearest-point/m-p/715451#M18397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maybe convert the polyline into a List of Points.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have a line&amp;nbsp; between x1 and x5, cut it in pieces and check for distence with x2,x3,x4.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Sep 2011 17:23:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polyline-nearest-point/m-p/715451#M18397</guid>
      <dc:creator>SimoLukic</dc:creator>
      <dc:date>2011-09-11T17:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Polyline - Nearest point</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polyline-nearest-point/m-p/715452#M18398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If the segment is a straight line (i.e. not an arc, ellipse, ...), it looks easy:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - project the point on the line,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - if the projected point is on the segment =&amp;gt; it's the shortest distance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - if not on the segment, thye shortest distance is given by the closest vertex.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2011 10:37:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polyline-nearest-point/m-p/715452#M18398</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-09-12T10:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Polyline - Nearest point</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polyline-nearest-point/m-p/715453#M18399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Dominique,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found your response intriguing, but I cannot quite follow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How do you project a point to a line segment using Silverlight API 3.1?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 17:36:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polyline-nearest-point/m-p/715453#M18399</guid>
      <dc:creator>CostasKotzabassis</dc:creator>
      <dc:date>2013-12-09T17:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Polyline - Nearest point</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polyline-nearest-point/m-p/715454#M18400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello Dominique,&lt;BR /&gt;I found your response intriguing, but I cannot quite follow.&lt;BR /&gt;How do you project a point to a line segment using Silverlight API 3.1?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I put together a &lt;/SPAN&gt;&lt;A href="http://broux.dominique.free.fr/Silverlight/InteractiveSDK/Default.htm#GeometricProjection"&gt;Geometry Projection &lt;/A&gt;&lt;SPAN&gt;sample.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 05:40:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polyline-nearest-point/m-p/715454#M18400</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2013-12-10T05:40:45Z</dc:date>
    </item>
  </channel>
</rss>

