<?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: summarize the attribute values of lines (in one layer) which have the same start- an endpoint in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407055#M23324</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might try using the summary statistics, but use the shape_length field as the case field. It is unlikely that you have the same length for features that are not coincident.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jun 2015 15:16:48 GMT</pubDate>
    <dc:creator>SepheFox</dc:creator>
    <dc:date>2015-06-23T15:16:48Z</dc:date>
    <item>
      <title>summarize the attribute values of lines (in one layer) which have the same start- an endpoint</title>
      <link>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407046#M23315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you know whether it is possible to summarize the attribute values of lines which have the same start- an endpoint?&lt;/P&gt;&lt;P&gt;This is my sitaution: I have ONE layer with lots of buslines between german cities. Now I want ArcGIS to summarize all lines which run between two cities to one line with the summarized frequentation attribut value. An this for all city to city relations. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example - actual date situation:&lt;/P&gt;&lt;P&gt;Line 1: Stuttgart-München -&amp;gt; 5 times a week&lt;/P&gt;&lt;P&gt;Line 2: Stuttgart-München -&amp;gt; 2 times a week&lt;/P&gt;&lt;P&gt;Line 3: Stutgart-Hamburg -&amp;gt; 3 times a week&lt;/P&gt;&lt;P&gt;Line 4: Stutgart-Hamburg -&amp;gt; 3 times a week &lt;/P&gt;&lt;P&gt;Line 5: Stutgart-Hamburg -&amp;gt; 3 times a week &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result shall be:&lt;/P&gt;&lt;P&gt;one line between Stuttgart and München with attribut value 7 times a week and one line between Stuttgart and Hamburg wit attribut value 9 times a week. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already tried lots of options, but none worked (including Dissolve).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for ideas,&lt;/P&gt;&lt;P&gt;Johannes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 13:38:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407046#M23315</guid>
      <dc:creator>JohannesUhl1</dc:creator>
      <dc:date>2015-06-23T13:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: summarize the attribute values of lines (in one layer) which have the same start- an endpoint</title>
      <link>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407047#M23316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be easier to answer if I could see a screenshot of your table, with the fields and attributes, but assuming you have fields of start/end, and times per week, you could use the summary statistics tool to obtain the sum of times per week, with the start/end as a case field. If the start and end are different fields, you will need to add a new field and calculate it to have both values in it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 13:59:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407047#M23316</guid>
      <dc:creator>SepheFox</dc:creator>
      <dc:date>2015-06-23T13:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: summarize the attribute values of lines (in one layer) which have the same start- an endpoint</title>
      <link>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407048#M23317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your anwer.&lt;BR /&gt;I guess your idea doesn´t work, because the table doesn´t include any start- an endpoint information. This information is only included in the shapefile, but not shown in the table. In my opinion it´s not possible to work with the data in the table. Thats why I guessed it´s neccessary to work with the spatial data.ot:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To the screenshot:&lt;BR /&gt;"Fahrten_Wo" is the number of times per week. All other columms are not used. I already splitted up the entire buslines to lines between single cities. Thats why you see the line "EU 2060 Mannheim-Kosice" 8 times: its sepated by the intermediate stops (Mannheim-Stuttgart (FID 1), Stuttgart-München (FID 2), and so on). But this names of the intermediate stops are not in the table&lt;BR /&gt;&lt;IMG alt="screenshot.JPG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/112555_screenshot.JPG" style="width: 620px; height: 331px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 14:19:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407048#M23317</guid>
      <dc:creator>JohannesUhl1</dc:creator>
      <dc:date>2015-06-23T14:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: summarize the attribute values of lines (in one layer) which have the same start- an endpoint</title>
      <link>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407049#M23318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry, I don't really understand what you're saying. Your original question didn't mention a table different from your shapefile. I can't really help you in less I'm clear what you are working with.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 14:26:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407049#M23318</guid>
      <dc:creator>SepheFox</dc:creator>
      <dc:date>2015-06-23T14:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: summarize the attribute values of lines (in one layer) which have the same start- an endpoint</title>
      <link>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407050#M23319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, im quiete new in working with GIS.&lt;BR /&gt;The table and the shapefile aren´t different. What I just wanted to say is, that there aren´t any position data (like koordinates or citynames) in the table. That´s why I thought your idea can´t work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 14:44:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407050#M23319</guid>
      <dc:creator>JohannesUhl1</dc:creator>
      <dc:date>2015-06-23T14:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: summarize the attribute values of lines (in one layer) which have the same start- an endpoint</title>
      <link>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407051#M23320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what is the field called "Liniename"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 14:50:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407051#M23320</guid>
      <dc:creator>SepheFox</dc:creator>
      <dc:date>2015-06-23T14:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: summarize the attribute values of lines (in one layer) which have the same start- an endpoint</title>
      <link>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407052#M23321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The field called "Linienname" ist just the name of the WHOLE line. It consist oft the linename/number itseslf and the very first city and the very last city. Thats why I can´t use this field: I want to know the sum of all runs a week (sum of several companies) between two cities in Germany. Would I just use the cities named in the field "Linienname" I would ignore the connections between the intermediate stops of the lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way: Thank you very much for your patience!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 14:59:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407052#M23321</guid>
      <dc:creator>JohannesUhl1</dc:creator>
      <dc:date>2015-06-23T14:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: summarize the attribute values of lines (in one layer) which have the same start- an endpoint</title>
      <link>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407053#M23322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Sephe, &lt;/STRONG&gt;the "Liniename" means--&amp;gt;&amp;gt; "line name". It's like a bus route name&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;STRONG&gt;&lt;A href="https://community.esri.com/people/johannesuhl"&gt;johannesuhl&lt;/A&gt; ,&lt;/STRONG&gt; do you have a common value between the table and the polyline..??? Maybe you can make a joint between the polyline and the external table, then you can try to summarize the routes.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 15:02:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407053#M23322</guid>
      <dc:creator>NICOLAPEDDIS</dc:creator>
      <dc:date>2015-06-23T15:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: summarize the attribute values of lines (in one layer) which have the same start- an endpoint</title>
      <link>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407054#M23323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I kind of understand what you are working with.&amp;nbsp; You split a larger bus route into multiple lines based on city intermediate stops, but did not insert the intermediate stops into the table.&amp;nbsp; Presumably different several bus lines connect the same intermediate destination pairs for at least part of their route so they should have a way to be summarized to get counts from your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming the points shown on your exhibit are the intermediate stops you mentioned, you can use the Spatial Join tool to get their attributes on to the lines.&amp;nbsp; Use the Spatial Join Tool with the One To One option and make the Lines the Target features and the Points the Join Features.&amp;nbsp; Any points that do not actually represent stops that you split the lines with should be excluded when the tool is run so that only the points at the start and end of each line are used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Field Map of the Spatial Join tool right click the field to &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00210000000s000000"&gt;adjust the properties for the City Name field&lt;/A&gt; (or whatever field works to identify each intermediate stop) to make it a Text Field with 254 characters and use Join as the Merge Rule Option with a delimiter character, such as a semicolon or a dash.&amp;nbsp; This will concatenate the two stop names together into a new field on the lines.&amp;nbsp; You may want to alter the Name order in the field, since the concatenation won't really be based on any kind of driving directions or alphabetical order, just the order it encountered the points.&amp;nbsp; You then should be able to use those to summarize the intermediate stop segments based on that field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 15:04:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407054#M23323</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2015-06-23T15:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: summarize the attribute values of lines (in one layer) which have the same start- an endpoint</title>
      <link>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407055#M23324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might try using the summary statistics, but use the shape_length field as the case field. It is unlikely that you have the same length for features that are not coincident.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 15:16:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407055#M23324</guid>
      <dc:creator>SepheFox</dc:creator>
      <dc:date>2015-06-23T15:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: summarize the attribute values of lines (in one layer) which have the same start- an endpoint</title>
      <link>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407056#M23325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, Richard! Thats exactly the problem I have!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your solution sounds great, I just tried it. But could you describe more exactly, who I can alter the name order in the field? One line ist now for example called "Stuttgart;München" an another "München; Stuttgart". Is it possible to make both to "München; Stuttgart"? F&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;or example,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;by&lt;/SPAN&gt; putting &lt;SPAN class="hps"&gt;the names&lt;/SPAN&gt; within each cell in an &lt;SPAN class="hps"&gt;alphabetically&lt;/SPAN&gt; order?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 15:31:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407056#M23325</guid>
      <dc:creator>JohannesUhl1</dc:creator>
      <dc:date>2015-06-23T15:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: summarize the attribute values of lines (in one layer) which have the same start- an endpoint</title>
      <link>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407057#M23326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for this creative idea. I will try &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 16:25:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407057#M23326</guid>
      <dc:creator>JohannesUhl1</dc:creator>
      <dc:date>2015-06-23T16:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: summarize the attribute values of lines (in one layer) which have the same start- an endpoint</title>
      <link>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407058#M23327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, as far as I know there is no common value between these...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 16:26:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407058#M23327</guid>
      <dc:creator>JohannesUhl1</dc:creator>
      <dc:date>2015-06-23T16:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: summarize the attribute values of lines (in one layer) which have the same start- an endpoint</title>
      <link>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407059#M23328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First check that no more than 2 names got concatenated, since if you have cases where more than that occur you probably should figure out why manually.&amp;nbsp; For ordering the cities alphabetically; first select all records that contain a semicolon and space in the output&amp;nbsp; (i.e., CITY_NAME Like '%; %') to make sure no records with just a single name are included, then you can do the following Python calculation to reorder the two names alphabetically (make the field name match your field name of course):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorted(!CITY_NAME!.split('; '))[0] + '; ' + sorted(!CITY_NAME!.split('; '))[1]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 17:16:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/summarize-the-attribute-values-of-lines-in-one/m-p/407059#M23328</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2015-06-23T17:16:56Z</dc:date>
    </item>
  </channel>
</rss>

