<?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 Network dataset connectivity using from/to elevation values in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/network-dataset-connectivity-using-from-to/m-p/164947#M1705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using ArcGis 10.4.1 and network analyst extension.&amp;nbsp; In&amp;nbsp; order to create the network dataset i am using open source data. The attribute table is as follows;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" /&gt;&lt;/P&gt;&lt;P&gt;A bridge has F_ZEL=1, TZEL=1&lt;/P&gt;&lt;P&gt;A road has&amp;nbsp;&lt;SPAN&gt;F_ZEL=0, TZEL=0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In order to connect those two network elements&amp;nbsp; i change road attributes to F_ZEL=0, TZEL=1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It works ok but i need to do that for 8.000&amp;nbsp;bridges. Is there any way to achieve this task using code? I have to mention that two adjacent element have no relative OBJECTID, OSM_ID, etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any suggestions would be very much appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Sep 2018 13:00:16 GMT</pubDate>
    <dc:creator>sotokan80_</dc:creator>
    <dc:date>2018-09-20T13:00:16Z</dc:date>
    <item>
      <title>Network dataset connectivity using from/to elevation values</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/network-dataset-connectivity-using-from-to/m-p/164947#M1705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using ArcGis 10.4.1 and network analyst extension.&amp;nbsp; In&amp;nbsp; order to create the network dataset i am using open source data. The attribute table is as follows;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" /&gt;&lt;/P&gt;&lt;P&gt;A bridge has F_ZEL=1, TZEL=1&lt;/P&gt;&lt;P&gt;A road has&amp;nbsp;&lt;SPAN&gt;F_ZEL=0, TZEL=0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In order to connect those two network elements&amp;nbsp; i change road attributes to F_ZEL=0, TZEL=1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It works ok but i need to do that for 8.000&amp;nbsp;bridges. Is there any way to achieve this task using code? I have to mention that two adjacent element have no relative OBJECTID, OSM_ID, etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any suggestions would be very much appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2018 13:00:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/network-dataset-connectivity-using-from-to/m-p/164947#M1705</guid>
      <dc:creator>sotokan80_</dc:creator>
      <dc:date>2018-09-20T13:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Network dataset connectivity using from/to elevation values</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/network-dataset-connectivity-using-from-to/m-p/164948#M1706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/303308"&gt;sotokan80 .&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could find some way to identify locations where the elevation needs to change. Like, if a bridge is intersecting a road and there is no connectivity, then there should be 2 junctions there, 1 with the elevation of the bridge and 1 with the elevation of the road.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using python, you could select all roads that intersect those locations where there are 2 system junctions.&lt;/P&gt;&lt;P&gt;Then read through the geometry of the roads and use the firstPoint and lastPoint properties to get the coordinates of the beginning and end points.&lt;/P&gt;&lt;P&gt;Then compare those coordinates to the coordinates of the overlapping junctions.&lt;/P&gt;&lt;P&gt;Grab the elevation value from on of those vertices and insert it into the appropriate from or to elevation field, depending on which coordinates of the line match up with the coordinates of the vertices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's just a very rough outline and you'll need to do some tweaking, but that could be a place to start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rachel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2018 23:36:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/network-dataset-connectivity-using-from-to/m-p/164948#M1706</guid>
      <dc:creator>RachelApplebaum</dc:creator>
      <dc:date>2018-09-20T23:36:02Z</dc:date>
    </item>
  </channel>
</rss>

