<?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 automating loading barriers for NAService in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/automating-loading-barriers-for-naservice/m-p/661584#M6359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have a flex viewer app that is used to capture things like incidents and road construction and i have a NAService set up for routing. I am trying to find the most efficient way of updating my NAService with the latest incidents/construction as point and/or polyline barriers. I created a web service that would first query the incident/construction layer exposed in a map service- take the results and send into the REST solve as barrier parameters. But my client would like to see if there is a way to do this without a this middleware piece.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I started looking into the Add Location geoprocessing tool but can't seem to figure out how to automate it. I know the Route Network Analyst Layer seems to only 'live' in the mxd so I create a model in the mxd to update the barriers. And it runs fine in the mxd. But when I publish the the tool in the mxd as a geoprocessing service and run the the tool- the barriers don't seem to get updated in the NAService. Is this not possible to do through a geoprocessing service because of how the Route Layer &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;lives' in memory? Or do I need to restart the NAservice after I run the gp service?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 May 2013 15:05:14 GMT</pubDate>
    <dc:creator>MelindaFrost</dc:creator>
    <dc:date>2013-05-08T15:05:14Z</dc:date>
    <item>
      <title>automating loading barriers for NAService</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/automating-loading-barriers-for-naservice/m-p/661584#M6359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have a flex viewer app that is used to capture things like incidents and road construction and i have a NAService set up for routing. I am trying to find the most efficient way of updating my NAService with the latest incidents/construction as point and/or polyline barriers. I created a web service that would first query the incident/construction layer exposed in a map service- take the results and send into the REST solve as barrier parameters. But my client would like to see if there is a way to do this without a this middleware piece.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I started looking into the Add Location geoprocessing tool but can't seem to figure out how to automate it. I know the Route Network Analyst Layer seems to only 'live' in the mxd so I create a model in the mxd to update the barriers. And it runs fine in the mxd. But when I publish the the tool in the mxd as a geoprocessing service and run the the tool- the barriers don't seem to get updated in the NAService. Is this not possible to do through a geoprocessing service because of how the Route Layer &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;lives' in memory? Or do I need to restart the NAservice after I run the gp service?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 15:05:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/automating-loading-barriers-for-naservice/m-p/661584#M6359</guid>
      <dc:creator>MelindaFrost</dc:creator>
      <dc:date>2013-05-08T15:05:14Z</dc:date>
    </item>
  </channel>
</rss>

