<?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: Input location using to Network Analyst  and Finding the route  in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/input-location-using-to-network-analyst-and/m-p/361973#M28576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll need to geocode the address to get the&amp;nbsp;location in a feature layer/table (which can be in memory) then pass that feature layer/table into Add Locations (&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/network-analyst-toolbox/add-locations.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/network-analyst-toolbox/add-locations.htm"&gt;Add Locations—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course for the geocoding, you'll need a geocoder or a geocoding service. If you have your own, you can use that, or you could also use Google or several other options. See the options in&amp;nbsp;&lt;A href="https://community.esri.com/thread/72202"&gt;Geocode only one address in arcpy.&lt;/A&gt;&amp;nbsp;&amp;nbsp;or&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/geocoding-toolbox/geocode-addresses.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/geocoding-toolbox/geocode-addresses.htm"&gt;Geocode Addresses—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;or&amp;nbsp;&lt;A class="link-titled" href="https://gis.stackexchange.com/questions/124057/how-to-geocode-a-single-address-in-python-script-modelbuilder" title="https://gis.stackexchange.com/questions/124057/how-to-geocode-a-single-address-in-python-script-modelbuilder"&gt;arcgis desktop - How to geocode a single address in Python Script/ ModelBuilder? - Geographic Information Systems Stack …&lt;/A&gt;&amp;nbsp; for ideas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jun 2018 17:04:56 GMT</pubDate>
    <dc:creator>RachelApplebaum</dc:creator>
    <dc:date>2018-06-15T17:04:56Z</dc:date>
    <item>
      <title>Input location using to Network Analyst  and Finding the route</title>
      <link>https://community.esri.com/t5/python-questions/input-location-using-to-network-analyst-and/m-p/361970#M28573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a shapefile of locations and have another shapefile with one location which is a Start Point.&lt;/P&gt;&lt;P&gt;I want to input the name of one of the locations and then Network Analyst will return the best route to the location from the Start Point.&lt;/P&gt;&lt;P&gt;Anyone know how this can be achieved using python?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 09:40:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/input-location-using-to-network-analyst-and/m-p/361970#M28573</guid>
      <dc:creator>JohnMcConalogue</dc:creator>
      <dc:date>2018-04-09T09:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Input location using to Network Analyst  and Finding the route</title>
      <link>https://community.esri.com/t5/python-questions/input-location-using-to-network-analyst-and/m-p/361971#M28574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doing this in python is actually quite complicated (imho).&lt;/P&gt;&lt;P&gt;Some tips here, see example 4&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/network-analyst-toolbox/make-route-layer.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/network-analyst-toolbox/make-route-layer.htm"&gt;Make Route Layer—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 10:38:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/input-location-using-to-network-analyst-and/m-p/361971#M28574</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2018-04-09T10:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Input location using to Network Analyst  and Finding the route</title>
      <link>https://community.esri.com/t5/python-questions/input-location-using-to-network-analyst-and/m-p/361972#M28575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Neil.&lt;/P&gt;&lt;P&gt;I am trying to get the user to add the address and then Network analyst will fine the route.&lt;/P&gt;&lt;P&gt;Here is the code prompting the user to input the address:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if len(address) == 0: address = raw_input("Which&amp;nbsp;address do you wish to examine? ") QueryString = "Address_Name = \'" + address.title() + "\'"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how to pass the "address" parameter to the python script to be used by Network analyst?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 10:58:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/input-location-using-to-network-analyst-and/m-p/361972#M28575</guid>
      <dc:creator>JohnMcConalogue</dc:creator>
      <dc:date>2018-04-09T10:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Input location using to Network Analyst  and Finding the route</title>
      <link>https://community.esri.com/t5/python-questions/input-location-using-to-network-analyst-and/m-p/361973#M28576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll need to geocode the address to get the&amp;nbsp;location in a feature layer/table (which can be in memory) then pass that feature layer/table into Add Locations (&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/network-analyst-toolbox/add-locations.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/network-analyst-toolbox/add-locations.htm"&gt;Add Locations—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course for the geocoding, you'll need a geocoder or a geocoding service. If you have your own, you can use that, or you could also use Google or several other options. See the options in&amp;nbsp;&lt;A href="https://community.esri.com/thread/72202"&gt;Geocode only one address in arcpy.&lt;/A&gt;&amp;nbsp;&amp;nbsp;or&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/geocoding-toolbox/geocode-addresses.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/geocoding-toolbox/geocode-addresses.htm"&gt;Geocode Addresses—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;or&amp;nbsp;&lt;A class="link-titled" href="https://gis.stackexchange.com/questions/124057/how-to-geocode-a-single-address-in-python-script-modelbuilder" title="https://gis.stackexchange.com/questions/124057/how-to-geocode-a-single-address-in-python-script-modelbuilder"&gt;arcgis desktop - How to geocode a single address in Python Script/ ModelBuilder? - Geographic Information Systems Stack …&lt;/A&gt;&amp;nbsp; for ideas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2018 17:04:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/input-location-using-to-network-analyst-and/m-p/361973#M28576</guid>
      <dc:creator>RachelApplebaum</dc:creator>
      <dc:date>2018-06-15T17:04:56Z</dc:date>
    </item>
  </channel>
</rss>

