<?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: Route Service confusion in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/route-service-confusion/m-p/452530#M4303</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Network Analyst is meant to solve shortest paths (routes) based on a network dataset. The "routes" you are doing fall under the domain of&amp;nbsp; linear referencing. The route, measure terminology from linear referencing does not mean the same as finding a shortest path route. So in case you do want to publish a network analyst routing service then you need to have a network dataset (that contains the topology and costs associated with each edge, with appropriate restrictions such as oneway, turns, etc), and then use the make route layer tools, etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that is not your intent, then if you have a model that does exactly what you want (using linear referencing tools), you should be able to publish it without involving network analyst.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jay Sandhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 May 2018 20:09:38 GMT</pubDate>
    <dc:creator>JaySandhu</dc:creator>
    <dc:date>2018-05-29T20:09:38Z</dc:date>
    <item>
      <title>Route Service confusion</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/route-service-confusion/m-p/452529#M4302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to port over some desktop functionality of mapping road locations into a webmap using the JS API but it's creating some confusion for me. I have a route layer- but not in the traditional sense. I took a dataset of streets and then routed it&amp;nbsp;&lt;SPAN&gt;(Linear Referencing Tools-&amp;gt;Create Routes) in ArcToolbox based on a field containing the full name of the roads.&amp;nbsp;&lt;/SPAN&gt;In Arcmap, that's all you really need to solve for a route between point A &amp;amp; B using VBA &amp;amp; .NET using the RouteMeasureLocator object. In other words, you don't need a Network Analyst license, stops, restrictions, etc to just return a line between point A &amp;amp; B. That's basically what I want to replicate, but as a web service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I took that routed layer and tried publishing this as a service to our AGS 10.4.x server. I clicked the Network Analysis checkbox under the Capabilities options while publishing and it craps out saying that the "...Data frame does not contain a required layer type for Network Analysis capability". When I turned on our Network Analyst extension, it doesn't seem to like my layer because all the options remain grayed out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess there's more to it when providing a route service but I'm not sure what other prep I need to do to get it up &amp;amp; running. What more do I need to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(My route is set up this way because I'm trying to facilitate non-technical staff who need to map a road closure. Under desktop, they select the road name, click on the map for the starting/ending points, and the route function draws the line between the two dots. I routed based on full road names to ensure that the solved route doesn't jump over a block and travel on a different road.)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 18:49:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/route-service-confusion/m-p/452529#M4302</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2018-05-29T18:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Route Service confusion</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/route-service-confusion/m-p/452530#M4303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Network Analyst is meant to solve shortest paths (routes) based on a network dataset. The "routes" you are doing fall under the domain of&amp;nbsp; linear referencing. The route, measure terminology from linear referencing does not mean the same as finding a shortest path route. So in case you do want to publish a network analyst routing service then you need to have a network dataset (that contains the topology and costs associated with each edge, with appropriate restrictions such as oneway, turns, etc), and then use the make route layer tools, etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that is not your intent, then if you have a model that does exactly what you want (using linear referencing tools), you should be able to publish it without involving network analyst.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jay Sandhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 20:09:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/route-service-confusion/m-p/452530#M4303</guid>
      <dc:creator>JaySandhu</dc:creator>
      <dc:date>2018-05-29T20:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Route Service confusion</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/route-service-confusion/m-p/452531#M4304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Thanks, Jay, I would agree with you that Network Analyst is overkill for what I have previously done but it appears that &lt;A _jive_internal="true" href="https://community.esri.com/message/353630?commentID=353630#comment-353630"&gt;unless you purchase the&amp;nbsp;&lt;/A&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;A _jive_internal="true" href="https://community.esri.com/message/353630?commentID=353630#comment-353630"&gt;Roads and Highways extension for ArcGIS Server- or develop a SOE for Server&lt;/A&gt;, linear referencing isn't supported via JS API. Guess I have to build and publish a Network&amp;nbsp;Analysis Service. Way overkill for what I need but I don't think I have a choice.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 22:32:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/route-service-confusion/m-p/452531#M4304</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2018-05-29T22:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Route Service confusion</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/route-service-confusion/m-p/452532#M4305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Instead of writing an SOE and calling it from JS API, it is also possible to perform workflows by authoring a &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/sharing-workflows/what-is-a-geoprocessing-service-.htm"&gt;geoprocessing (GP) service&lt;/A&gt; and calling the GP service from &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/geoprocessor-amd.html"&gt;JS API&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you can find a route based on the measure value of your start and end points using one or more GP tools, you can then publish this GP workflow as a gp service and consume it from JS API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on your workflow , &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/linear-ref-toolbox/make-route-event-layer.htm"&gt;Make Route Event Layer&lt;/A&gt; GP tool seems like a good fit. You can use this tool in ArcMap and see if it works for you. If it does work, create a &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/creating-tools/a-quick-tour-of-creating-tools-in-python.htm"&gt;script tool in Python&lt;/A&gt; or even a &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/creating-tools/a-quick-tour-of-creating-tools-with-modelbuilder.htm"&gt;GP model&lt;/A&gt; that performs this workflow and then share it as a GP service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Deelesh&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 00:36:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/route-service-confusion/m-p/452532#M4305</guid>
      <dc:creator>DeeleshMandloi</dc:creator>
      <dc:date>2018-05-30T00:36:57Z</dc:date>
    </item>
  </channel>
</rss>

