<?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: Adding Intersecting (Start and End) Road Names to Road Segments within Road Feature Class in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/adding-intersecting-start-and-end-road-names-to/m-p/1216996#M60403</link>
    <description>&lt;P&gt;Actually, and I should have thought of this earlier, I think my first step is to dissolve the street segments of a continuous street. Then the field calc would give me the results I need. I got it! Thanks for the initial solution!&lt;/P&gt;</description>
    <pubDate>Wed, 28 Sep 2022 16:34:35 GMT</pubDate>
    <dc:creator>Elizabeth_Burniston</dc:creator>
    <dc:date>2022-09-28T16:34:35Z</dc:date>
    <item>
      <title>Adding Intersecting (Start and End) Road Names to Road Segments within Road Feature Class</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-intersecting-start-and-end-road-names-to/m-p/1208455#M59352</link>
      <description>&lt;P&gt;Greetings,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am going to start fresh. I had chased down a few old posts relating to this topic but they all didn't produce the desire result.&lt;/P&gt;&lt;P&gt;Starting Data&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Feature Class (Road network of street segments with the following fields: NAME_ALF (Street segment name), BegLocation (Segment Start, intersecting road), EndLocation (Segment End, intersecting Road)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Work 2.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/50064iEAEBCDE03419EF39/image-size/large?v=v2&amp;amp;px=999" role="button" title="Work 2.png" alt="Work 2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What I would like&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="work 3.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/50066iA38AC1113FFCE8B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="work 3.png" alt="work 3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; Thanks for any suggestions or pointing me to the best practice for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 21:07:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-intersecting-start-and-end-road-names-to/m-p/1208455#M59352</guid>
      <dc:creator>ChrisSpadi</dc:creator>
      <dc:date>2022-08-31T21:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Intersecting (Start and End) Road Names to Road Segments within Road Feature Class</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-intersecting-start-and-end-road-names-to/m-p/1208587#M59372</link>
      <description>&lt;P&gt;For Field Calculation:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// change the first line depending on field
var p = Geometry($feature).paths[0][0]  // BegLocation
var p = Geometry($feature).paths[-1][-1]  // EndLocation

var streets_at_point = Intersects($featureset, p)
var this_street = $feature.NAME_ALF
var other_streets = Filter(streets_at_point, "NAME_ALF&amp;lt;&amp;gt; @this_street")
var street_names = []
for(var os in other_streets) {
    Push(street_names, os.NAME_ALF)
}
return Concatenate(Distinct(street_names), ", ")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Attribute Rule:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// Calculation Attribute Rule
// triggers: Insert, Update,
// field: empty

var p_start = Geometry($feature).paths[0][0]
var p_end = Geometry($feature).paths[-1][-1]
var this_street = $feature.NAME_ALF

var streets_start = Intersects($featureset, p_start)
var other_streets = Filter(streets_start, "NAME_ALF&amp;lt;&amp;gt; @this_street")
var start_names = []
for(var os in other_streets) {
    Push(start_names, os.NAME_ALF)
}

var streets_end = Intersects($featureset, p_end)
var other_streets = Filter(streets_end, "NAME_ALF&amp;lt;&amp;gt; @this_street")
var end_names = []
for(var os in other_streets) {
    Push(end_names, os.NAME_ALF)
}

return {
    result: {
        attributes: {
            BegLocation: Concatenate(Distinct(start_names), ", "),
            EndLocation: Concatenate(Distinct(end_names), ", ")
        }
    }
}&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 01 Sep 2022 08:14:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-intersecting-start-and-end-road-names-to/m-p/1208587#M59372</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2022-09-01T08:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Intersecting (Start and End) Road Names to Road Segments within Road Feature Class</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-intersecting-start-and-end-road-names-to/m-p/1208746#M59390</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/100938" target="_self"&gt;&lt;SPAN class=""&gt;ChrisSpadi&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I am just wondering if you have a situation where more than one roads are joining at the begin/end of a road. If you do, what would the output fields be?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 15:31:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-intersecting-start-and-end-road-names-to/m-p/1208746#M59390</guid>
      <dc:creator>DanLee</dc:creator>
      <dc:date>2022-09-01T15:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Intersecting (Start and End) Road Names to Road Segments within Road Feature Class</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-intersecting-start-and-end-road-names-to/m-p/1210811#M59664</link>
      <description>&lt;P data-unlink="true"&gt;&lt;SPAN&gt;From&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;JohannesLindner:&lt;/SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"It returns a string of all intersecting streets. If a street intersects "Street A" and "Street B", the returned value will be "Street A, Street B"."&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 15:41:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-intersecting-start-and-end-road-names-to/m-p/1210811#M59664</guid>
      <dc:creator>ChrisSpadi</dc:creator>
      <dc:date>2022-09-08T15:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Intersecting (Start and End) Road Names to Road Segments within Road Feature Class</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-intersecting-start-and-end-road-names-to/m-p/1210813#M59665</link>
      <description>&lt;P&gt;Thanks again Johannes. Greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 15:42:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-intersecting-start-and-end-road-names-to/m-p/1210813#M59665</guid>
      <dc:creator>ChrisSpadi</dc:creator>
      <dc:date>2022-09-08T15:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Intersecting (Start and End) Road Names to Road Segments within Road Feature Class</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-intersecting-start-and-end-road-names-to/m-p/1210832#M59667</link>
      <description>&lt;P&gt;Sounds good!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 16:08:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-intersecting-start-and-end-road-names-to/m-p/1210832#M59667</guid>
      <dc:creator>DanLee</dc:creator>
      <dc:date>2022-09-08T16:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Intersecting (Start and End) Road Names to Road Segments within Road Feature Class</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-intersecting-start-and-end-road-names-to/m-p/1216738#M60372</link>
      <description>&lt;P&gt;This solution worked perfectly for street segments, but is there a way to do the same thing for street segments that are connected? A shown on the map, some streets with the same name are separated.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BurnistonElizabeth_0-1664310409296.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/52340i368CCD79B3EB3D59/image-size/large?v=v2&amp;amp;px=999" role="button" title="BurnistonElizabeth_0-1664310409296.png" alt="BurnistonElizabeth_0-1664310409296.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 20:43:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-intersecting-start-and-end-road-names-to/m-p/1216738#M60372</guid>
      <dc:creator>Elizabeth_Burniston</dc:creator>
      <dc:date>2022-09-27T20:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Intersecting (Start and End) Road Names to Road Segments within Road Feature Class</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-intersecting-start-and-end-road-names-to/m-p/1216881#M60392</link>
      <description>&lt;P&gt;I don't really understand the question here. What values would you expect in this situation?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 10:31:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-intersecting-start-and-end-road-names-to/m-p/1216881#M60392</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2022-09-28T10:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Intersecting (Start and End) Road Names to Road Segments within Road Feature Class</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-intersecting-start-and-end-road-names-to/m-p/1216996#M60403</link>
      <description>&lt;P&gt;Actually, and I should have thought of this earlier, I think my first step is to dissolve the street segments of a continuous street. Then the field calc would give me the results I need. I got it! Thanks for the initial solution!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 16:34:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-intersecting-start-and-end-road-names-to/m-p/1216996#M60403</guid>
      <dc:creator>Elizabeth_Burniston</dc:creator>
      <dc:date>2022-09-28T16:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Intersecting (Start and End) Road Names to Road Segments within Road Feature Class</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-intersecting-start-and-end-road-names-to/m-p/1217143#M60432</link>
      <description>&lt;P&gt;Hi Elizabeth,&lt;/P&gt;&lt;P&gt;That's what I thought you were probably asking, that's what I would have done is dissolve by street name. I kept the segmented sections for asset management purposes incase only part of pavement is treated. Glad it worked out for you.&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 20:56:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-intersecting-start-and-end-road-names-to/m-p/1217143#M60432</guid>
      <dc:creator>ChrisSpadi</dc:creator>
      <dc:date>2022-09-28T20:56:07Z</dc:date>
    </item>
  </channel>
</rss>

