<?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: Creating a detailed route dataset in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86857#M848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Melinda!&lt;/P&gt;&lt;P&gt;Thank you very much for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been able now to add the attributes I want, so this is no longer a problem.&lt;/P&gt;&lt;P&gt;For my analysis, I want to connect ALL my firms to ALL my customs. I want to build this dataset because I am researching about exports, so I want to know all routes detailed. So let's say I have about 120 customs and about 2500 firms. In the end, this will result in 120*2500=300,000 routes. So this is what I want specifically. I guess your second suggest will work. I am looking right now at the video.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again! Further recommendations are welcome.&lt;/P&gt;&lt;P&gt;Francisco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Feb 2015 17:08:03 GMT</pubDate>
    <dc:creator>franciscocarrera</dc:creator>
    <dc:date>2015-02-17T17:08:03Z</dc:date>
    <item>
      <title>Creating a detailed route dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86849#M840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to produce a dataset that displays routes from firms to customs. Specifically, I want the dataset to display which states of the USA the route passes through and the lenght of the road for each state. I have tried the OD Cost Matrix, but it does not give details about the routes. I am currently using the Closest Facility analysis but when I load the locations for Facilities and Incidents, I lose a lot of attributes from the original data, such as the number of the state (state unique identifier). This identifier is crucial because after producing the dataset I will use it to do some analysis in Stata, but loading incidents and facilities is automatically losing a lot of attributes. Any recommendations on how to keep all attributes?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see in my route table that there are Indident and Fcility identifiers, but how could I know for all the data which is which? I mean, I have a lot of records and seeing "Facility 2" means nothing. I want to know which state is each location in and so on. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your help!&lt;/P&gt;&lt;P&gt;Francisco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 00:09:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86849#M840</guid>
      <dc:creator>franciscocarrera</dc:creator>
      <dc:date>2015-02-17T00:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a detailed route dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86850#M841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francisco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you load data into the incident and facility layers it is possible to make the name follow an attribute in the data.&amp;nbsp; This would allow you to see what "Facility 2" actually is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the state data analysis I need a little more information.&amp;nbsp; Are you saying you're losing attribute data when you bring it into Strata?&amp;nbsp; Without understanding all of your workflow I would say you could export your route analysis as a new layer and then identify using the state layer.&amp;nbsp; You could then summarize the length of the route that passes through each state.&amp;nbsp; If you can describe the issue a little more I can try to get you more specifics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Brandon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 00:25:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86850#M841</guid>
      <dc:creator>BrandonKeinath1</dc:creator>
      <dc:date>2015-02-17T00:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a detailed route dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86851#M842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brandon!&lt;/P&gt;&lt;P&gt;First, thank you very much for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry if my question was a little vague. My Incident/Facilty locations come from two layers. Both of the layers have a unique identifier for state and county. When I right click on "Facilities" on the table of contents to load the layer, the locations appear in the map wihtout trouble. However, when I open the attribute table for facilities, I don't see anymore the state and county unique identifiers. This problem is completely regardless Stata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want is to keep these identifiers so that later in Stata I can use them to produce different kind of analysis. But since I have thousands of routes, this obviously cannot be a mannual task. I want to automatically produce a route table that contains those identifiers. In the end, let's suppose that the variables or attributes in the final table I want are the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Origin ID / Origin name&amp;nbsp; / Destination ID / Destination name / Total route lenght / State-1 / Lenght of road in State -1 / ......... / State-n / Lenght of road in State n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in words, I want the entire distance from origin to destination, but I also want to know all the States the route goes across and the lenght of the route for each particular state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;Francisco &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 00:40:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86851#M842</guid>
      <dc:creator>franciscocarrera</dc:creator>
      <dc:date>2015-02-17T00:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a detailed route dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86852#M843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francisco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm away from the data right now but I'll post back tomorrow.&amp;nbsp; I had a lot more luck with my analysis once I added the name attribute when I was loading data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Brandon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 01:17:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86852#M843</guid>
      <dc:creator>BrandonKeinath1</dc:creator>
      <dc:date>2015-02-17T01:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a detailed route dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86853#M844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francisco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you want the distance to be able to be seen or just have the distance in the attributes.&amp;nbsp; The OD Cost matrix and closest facility analysis are similar but the main differences are in performance time (OD is faster for large matrices) and in returning the true shape (OD does not, closest facility does).&amp;nbsp; So depending on your goals you may want to look at closest facility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regardless you can have access to the attributes you need in either analysis.&amp;nbsp; If you look at your data I expect you will find that the numbers in Origin ID correspond to the object ids of the data loaded into the origin and the numbers in Destination ID similarly correspond to the OID's of the destination data.&amp;nbsp; There should also be a name field that has (Origin ID - Destination ID) and if you didn't specify a name field when you loaded the data it will just be the object ids ( 1-2, 2-1, etc.)&amp;nbsp; But if you add a name attribute when you load data it will show you the names rather than OIDs (Minnesota-California, California-Minnesota, etc).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a screenshot of an analysis setup I did with the name field populated and the resulting attribute table.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/62674_Capture.JPG" style="width: 620px; height: 458px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if I can be of more help.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Brandon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 14:04:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86853#M844</guid>
      <dc:creator>BrandonKeinath1</dc:creator>
      <dc:date>2015-02-17T14:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a detailed route dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86854#M845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also meant to include this link to the documentation.&amp;nbsp; They do a great job of explaining the differences and they have pictures.&amp;nbsp; Very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Types_of_network_analysis_layers/004700000032000000/" title="http://resources.arcgis.com/en/help/main/10.2/index.html#/Types_of_network_analysis_layers/004700000032000000/"&gt;ArcGIS Help (10.2, 10.2.1, and 10.2.2)&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Brandon &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 14:08:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86854#M845</guid>
      <dc:creator>BrandonKeinath1</dc:creator>
      <dc:date>2015-02-17T14:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a detailed route dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86855#M846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Francisco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever you load locations into a Network Analysis layer, you can use the field mapping control to transfer attributes from the input feature class to the NA layer's Stops/Facilities/Origins/Destinations/etc.&amp;nbsp; The input class in the NA layer doesn't automatically inherit all the fields from the input data.&amp;nbsp; If you have an ID field, you could map that to the Name property in the NA layer.&amp;nbsp; Or, before loading your input data, you could use the Add Field to Analysis Layer tool to add a custom field to the NA sublayer, and then you could map the field in your input to the custom field.&amp;nbsp; Suppose your feature class of firms has a field called firmID and you want your Facilities sublayer in your Closest Facility layer to also have this field.&amp;nbsp; You would have to add the field to the Facilities sublayer with the Add Field to Analysis Layer tool and then map the fields during the Load Locations process.&lt;/P&gt;&lt;P&gt;See this page for more details: &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00470000003t000000" title="http://resources.arcgis.com/en/help/main/10.2/index.html#//00470000003t000000"&gt;ArcGIS Help (10.2, 10.2.1, and 10.2.2)&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your analysis, is each firm matched to a specific customer or set of customers, or are you actually trying to find the "closest facility" to each one?&amp;nbsp; If you already know which pairs go together, and these pairs aren't necessarily the closest, you should use the Route tool rather than Closest Facility.&amp;nbsp; There's a way you can use field mapping with the RouteName field to specify which pairs of points should be on the same route which I can describe in further detail if this is what you're trying to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as splitting the resulting routes by state to find out the distance traveled in each state, check out this video of a presentation from the Esri User Conference which contains a demo of exactly this problem: &lt;A href="http://video.esri.com/watch/1676/network-analyst-performing-network-analysis" title="http://video.esri.com/watch/1676/network-analyst-performing-network-analysis"&gt;Network Analyst: Performing Network Analysis | Esri Video&lt;/A&gt; It starts around 13:00.&amp;nbsp; The material prior to that in the video explains a bit about field mapping.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 16:42:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86855#M846</guid>
      <dc:creator>MelindaMorang</dc:creator>
      <dc:date>2015-02-17T16:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a detailed route dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86856#M847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brandon,&lt;/P&gt;&lt;P&gt;Thanks once again. &lt;/P&gt;&lt;P&gt;I actually have been able to keep all attributes wanted in my tables so this is no longer a problem.&lt;/P&gt;&lt;P&gt;Now I have the data on the entire routes, but I lack the data on which states my route goes through. Do you know which tool works for this?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Francisco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 17:02:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86856#M847</guid>
      <dc:creator>franciscocarrera</dc:creator>
      <dc:date>2015-02-17T17:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a detailed route dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86857#M848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Melinda!&lt;/P&gt;&lt;P&gt;Thank you very much for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been able now to add the attributes I want, so this is no longer a problem.&lt;/P&gt;&lt;P&gt;For my analysis, I want to connect ALL my firms to ALL my customs. I want to build this dataset because I am researching about exports, so I want to know all routes detailed. So let's say I have about 120 customs and about 2500 firms. In the end, this will result in 120*2500=300,000 routes. So this is what I want specifically. I guess your second suggest will work. I am looking right now at the video.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again! Further recommendations are welcome.&lt;/P&gt;&lt;P&gt;Francisco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 17:08:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86857#M848</guid>
      <dc:creator>franciscocarrera</dc:creator>
      <dc:date>2015-02-17T17:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a detailed route dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86858#M849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francisco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you export out the routes as a feature class or shapefile you can perform an identify.&amp;nbsp; This will take the attributes from the states layer and add it to the sections of your routes that fall within the states boundary.&amp;nbsp; You can then summarize the data how you would like to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brandon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 21:23:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86858#M849</guid>
      <dc:creator>BrandonKeinath1</dc:creator>
      <dc:date>2015-02-17T21:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a detailed route dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86859#M850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Melinda!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So happy to see you write the following: "&lt;SPAN style="background-color: #ffffff;"&gt;There's a way you can use field mapping with the RouteName field to specify which pairs of points should be on the same route which I can describe in further detail if this is what you're trying to do."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;This relates to an&amp;nbsp;analysis process I am trying to do. I am taking an OD matrix and trying to find the actual routes between the points so the number of bike trips that cross each road segment can be summed. Currently, my dataset contains about 6,000 records of these paired origin and destination routes, specified with a route name, and number of bike trips along the route. As you see, some of the origin points are duplicated as they can connect to different destination points.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;.&amp;nbsp;&lt;IMG __jive_id="429270" alt="origin destination" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/429270_Capture1.JPG" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;My question then is: how do I load these into the New Route network analysis and Solve so all of the origins (which there may be many multiples of) connect to the assigned destination (which there may be many multiples of)? The dataset I am working with only has one point record for each origin or destination zone. The whole city was broken down into small zones and I converted those unique zones (ie. zone 35300040) to points. Any help would be greatly appreciated!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;- Sibel&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Nov 2018 03:06:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/creating-a-detailed-route-dataset/m-p/86859#M850</guid>
      <dc:creator>SibelSarper</dc:creator>
      <dc:date>2018-11-10T03:06:43Z</dc:date>
    </item>
  </channel>
</rss>

