<?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: snapping stop points to streets in Transportation Questions</title>
    <link>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448977#M1545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, I am having a similar issue with snapping GPS points to a stream layer. I am hoping to find a way to do it via a model or python. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Aug 2010 19:52:10 GMT</pubDate>
    <dc:creator>JasonTaylor</dc:creator>
    <dc:date>2010-08-30T19:52:10Z</dc:date>
    <item>
      <title>snapping stop points to streets</title>
      <link>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448969#M1537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am totally new to arcgis programming. I get a gps coordinates for vehicles and these coordinates are not exactly on the road, they are mostly off by 4-5 meters. When i load my network dataset and try to find the route based on these points, the solver is not able to snap the points to any of the roads. Is there a threshold value in the settings which i can specify to get the points to snap to the road ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;macher&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Aug 2010 17:28:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448969#M1537</guid>
      <dc:creator>sarmadhussain</dc:creator>
      <dc:date>2010-08-15T17:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: snapping stop points to streets</title>
      <link>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448970#M1538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How are you doing this programmatically? Are you using the Network Analyst API (e.g., the NAClassLoader or NALocator objects)? If so, I can show you how to do snapping. If not, please let me know what API you are working with.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2010 15:28:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448970#M1538</guid>
      <dc:creator>MichaelRice</dc:creator>
      <dc:date>2010-08-16T15:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: snapping stop points to streets</title>
      <link>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448971#M1539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yes i am using the network analyst api and i would definitely appreciate your help in not only snapping the points to the roads but also to optimize my purely noob and unoptimized code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2010 19:58:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448971#M1539</guid>
      <dc:creator>sarmadhussain</dc:creator>
      <dc:date>2010-08-16T19:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: snapping stop points to streets</title>
      <link>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448972#M1540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Feel free to post any of your code in this thread for further discussion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The most basic programming pattern used to load data into a network analysis layer is to use the NAClassLoader. See here for more detail and some simple code samples: &lt;/SPAN&gt;&lt;A href="http://resources.esri.com/help/9.3/ArcGISDesktop/ArcObjects/esriNetworkAnalyst/NAClassLoader.htm"&gt;http://resources.esri.com/help/9.3/ArcGISDesktop/ArcObjects/esriNetworkAnalyst/NAClassLoader.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The link above will provide code samples in several programming languages showing the most basic way to use the NAClassLoader for loading data from an input source feature class. If you want to enable snapping, then use the INAClassLoader2 interface (look under the 'Interfaces' section at the above link, and click on 'INAClassLoader2' to see more information).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your case, if you want to snap directly to the network, then simply set INAClassLoader2.SnapToNetwork = True before calling Load.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2010 20:14:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448972#M1540</guid>
      <dc:creator>MichaelRice</dc:creator>
      <dc:date>2010-08-16T20:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: snapping stop points to streets</title>
      <link>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448973#M1541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately i am stuck with version 9.1 and it does not contain INAClassLoader2 interface. Looking forward to your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 04:38:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448973#M1541</guid>
      <dc:creator>sarmadhussain</dc:creator>
      <dc:date>2010-08-17T04:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: snapping stop points to streets</title>
      <link>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448974#M1542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay, then let's try a different approach. The other technique is a little more involved, so I would ask that you first view the Network Analyst presentation from the 2007 ESRI Developer Summit:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://edn.esri.com/index.cfm?fa=media.detail&amp;amp;media=74"&gt;http://edn.esri.com/index.cfm?fa=media.detail&amp;amp;media=74&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This details a lot of the basic Network Analyst API, as well as some of the most common Network Analyst programmatic workflows. When watching this, pay special attention to the part (about 1/3 of the way through) where we discuss finding NALocations (the slide title is "Find NALocation Using NALocator"). Here, we discuss how to use the INALocator.QueryLocationByPoint method to locate an individual input point on the network. This method returns a parameter called 'outputPoint', which represents the actual point location on the network that your input point references (this is essentially the "snap point" you are looking for). On the next slide (titled "Create New NALocationObject"), we then show how to use this information to create a new feature in your analysis layer. If you want to enable snapping, then you can simply replace the following line of code...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;stopFeature.shape = inputPoint;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...with this line of code...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;stopFeature.shape = outputPoint;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...to enable snapping. Let me know if you have any related questions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 15:16:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448974#M1542</guid>
      <dc:creator>MichaelRice</dc:creator>
      <dc:date>2010-08-17T15:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: snapping stop points to streets</title>
      <link>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448975#M1543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks for your help, i am unable to see the video. i tried all browsers just to be sure. can you please give an alternate link for the lecture ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 16:36:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448975#M1543</guid>
      <dc:creator>sarmadhussain</dc:creator>
      <dc:date>2010-08-17T16:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: snapping stop points to streets</title>
      <link>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448976#M1544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately, I do not know of any other links to this video. Please make sure your browsers are up-to-date. If you are still having troubles viewing this and you do not feel it is because of your machine configuration, you can try contacting ESRI customer service to let them know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am attaching a .pdf of the slides from this presentation. This is certainly not as useful as being able to see and hear the video, which offers more detailed discussions of each slide, but hopefully it is better than nothing. Please let me know if this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 16:49:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448976#M1544</guid>
      <dc:creator>MichaelRice</dc:creator>
      <dc:date>2010-08-17T16:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: snapping stop points to streets</title>
      <link>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448977#M1545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, I am having a similar issue with snapping GPS points to a stream layer. I am hoping to find a way to do it via a model or python. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Aug 2010 19:52:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448977#M1545</guid>
      <dc:creator>JasonTaylor</dc:creator>
      <dc:date>2010-08-30T19:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: snapping stop points to streets</title>
      <link>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448978#M1546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is your stream layer a network dataset or something else (e.g., a geometric network)? For locating points on network datasets, you can use the 'Add Locations' GP tool (either using ModelBuilder or directly through Python), and just check/turn on the 'Snap to Network' option for the tool.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Aug 2010 22:17:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448978#M1546</guid>
      <dc:creator>MichaelRice</dc:creator>
      <dc:date>2010-08-30T22:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: snapping stop points to streets</title>
      <link>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448979#M1547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great, thanks. I had overlooked that parameter in the tool. I am not using a geometric network because of my symbology needs. I'm trying to remove sections of the stream based on GPS points and it seems like network analyst is the way to go. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It also seems that I need to build a route layer within the network first before adding the locations, is that right?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 21:33:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448979#M1547</guid>
      <dc:creator>JasonTaylor</dc:creator>
      <dc:date>2010-08-31T21:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: snapping stop points to streets</title>
      <link>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448980#M1548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I need to build a route layer within the network first before adding the locations, is that right?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This depends. What type of analysis are you planning to do with your GPS points when you load them? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can load your GPS points into any one of our 6 possible analysis layers: Route, Closest Facility, OD Cost Matrix, Service Area, Vehicle Routing Problem, or Location Allocation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The one to choose depends upon your analysis needs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Sep 2010 15:01:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/snapping-stop-points-to-streets/m-p/448980#M1548</guid>
      <dc:creator>MichaelRice</dc:creator>
      <dc:date>2010-09-01T15:01:20Z</dc:date>
    </item>
  </channel>
</rss>

