<?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: Snap to road feature in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snap-to-road-feature/m-p/1186879#M77781</link>
    <description>&lt;P&gt;Hi&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/399348"&gt;@MohammedSajid&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;At ArcGIS Pro 3.0 there is a new GeoAnalytics Desktop tool called Snap Tracks. To access this tool you'll need ArcGIS Pro 3.0 and an advanced license.&lt;BR /&gt;&lt;BR /&gt;Here are some resources to get started with the tool:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Tool doc: &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/geoanalytics-desktop/snap-tracks.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/geoanalytics-desktop/snap-tracks.htm&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;A blog outlining how to use the tool: &lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-pro/analytics/map-matching-with-snap-tracks/" target="_blank" rel="noopener"&gt;https://www.esri.com/arcgis-blog/products/arcgis-pro/analytics/map-matching-with-snap-tracks/&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://www.arcgis.com/home/item.html?id=b32ab3f24e564937b3ec456f5c1cc78d" target="_self"&gt;A sample toolbox&lt;/A&gt; you can use to create ready-to-use line features (this is also linked to from the blog &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If you have any questions, or have any feedback on how the tool work for you, please reach out to geoanalytics-pes@esri.com&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jun 2022 17:48:43 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2022-06-27T17:48:43Z</dc:date>
    <item>
      <title>Snap to road feature</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snap-to-road-feature/m-p/81396#M7445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any option to adjust coordinates received from gps tracker to align along with the road? Google is having a feature called SnapToRoad, is there something like this in esri?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2017 07:39:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snap-to-road-feature/m-p/81396#M7445</guid>
      <dc:creator>MohammedSajid</dc:creator>
      <dc:date>2017-09-21T07:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Snap to road feature</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snap-to-road-feature/m-p/81397#M7446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's no high level tool to do this, but you can use the geometry engine to work something out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a road in this case is a polyline, you can find the distance between the road and the point, and if the distance is less than some number, move the point onto the polyline. &amp;nbsp;Here's a simple example showing this:&amp;nbsp;&lt;A class="link-titled" href="https://jsbin.com/filawuvuku/edit?html,output" title="https://jsbin.com/filawuvuku/edit?html,output"&gt;JS Bin - Collaborative JavaScript Debugging&lt;/A&gt;&amp;nbsp;(mouse over the view around the line to see the snapping effect)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A few things to note: I recommend doing all of this in the web mercator spatial reference. &amp;nbsp;Whichever spatial reference you use needs to match, that is the polyline's sr must match the point's sr. &amp;nbsp;In the example, I set the "snap distance" to&amp;nbsp;10&amp;nbsp;pixels. &amp;nbsp;If you want to snap based on world-meter-distance, you could take out the pixel logic and use meters instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2017 15:35:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snap-to-road-feature/m-p/81397#M7446</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2017-09-21T15:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Snap to road feature</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snap-to-road-feature/m-p/81398#M7447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try and see&amp;nbsp;&lt;A href="https://github.com/simonscheider/mapmatching"&gt;https://github.com/simonscheider/mapmatching&lt;/A&gt; . Here use&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: rgba(27, 31, 35, 0.05); color: #24292e; font-family: 'SFMono-Regular',Consolas,'Liberation Mono',Menlo,Courier,monospace; font-size: 13.6px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;networkx&lt;/SPAN&gt; but you can edit python for use Network Analyst (for details HMM&amp;nbsp;&lt;A href="https://en.wikipedia.org/wiki/Hidden_Markov_model"&gt;https://en.wikipedia.org/wiki/Hidden_Markov_model&lt;/A&gt; &amp;nbsp;&lt;A href="http://www.blackarbs.com/blog/introduction-hidden-markov-models-python-networkx-sklearn/2/9/2017"&gt;http://www.blackarbs.com/blog/introduction-hidden-markov-models-python-networkx-sklearn/2/9/2017&lt;/A&gt; )&lt;/P&gt;&lt;P&gt;or use service rest &lt;A href="https://msdn.microsoft.com/en-us/library/mt814927.aspx"&gt;https://msdn.microsoft.com/en-us/library/mt814927.aspx&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2018 10:24:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snap-to-road-feature/m-p/81398#M7447</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2018-02-13T10:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Snap to road feature</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snap-to-road-feature/m-p/1186879#M77781</link>
      <description>&lt;P&gt;Hi&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/399348"&gt;@MohammedSajid&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;At ArcGIS Pro 3.0 there is a new GeoAnalytics Desktop tool called Snap Tracks. To access this tool you'll need ArcGIS Pro 3.0 and an advanced license.&lt;BR /&gt;&lt;BR /&gt;Here are some resources to get started with the tool:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Tool doc: &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/geoanalytics-desktop/snap-tracks.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/geoanalytics-desktop/snap-tracks.htm&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;A blog outlining how to use the tool: &lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-pro/analytics/map-matching-with-snap-tracks/" target="_blank" rel="noopener"&gt;https://www.esri.com/arcgis-blog/products/arcgis-pro/analytics/map-matching-with-snap-tracks/&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://www.arcgis.com/home/item.html?id=b32ab3f24e564937b3ec456f5c1cc78d" target="_self"&gt;A sample toolbox&lt;/A&gt; you can use to create ready-to-use line features (this is also linked to from the blog &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If you have any questions, or have any feedback on how the tool work for you, please reach out to geoanalytics-pes@esri.com&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 17:48:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snap-to-road-feature/m-p/1186879#M77781</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-06-27T17:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Snap to road feature</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snap-to-road-feature/m-p/1299192#M81391</link>
      <description>&lt;P&gt;For records, the post left on&amp;nbsp;&lt;SPAN class="local-date"&gt;06-27-2022&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt;01:23 PM belongs to&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/350186"&gt;@BethanyScott&lt;/a&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 14:45:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snap-to-road-feature/m-p/1299192#M81391</guid>
      <dc:creator>JesseCloutier</dc:creator>
      <dc:date>2023-06-14T14:45:37Z</dc:date>
    </item>
  </channel>
</rss>

