<?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: strange turns in Network Dataset in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/strange-turns-in-network-dataset/m-p/1379265#M8617</link>
    <description>&lt;P&gt;Everything seems well connected:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-02-07 185118.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93973i4B08C7EF50D9C09F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-02-07 185118.png" alt="Screenshot 2024-02-07 185118.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-02-07 185136.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93974i9C28C20A8B388AA7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-02-07 185136.png" alt="Screenshot 2024-02-07 185136.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Wed, 07 Feb 2024 17:53:54 GMT</pubDate>
    <dc:creator>RiccardoKlinger</dc:creator>
    <dc:date>2024-02-07T17:53:54Z</dc:date>
    <item>
      <title>strange turns in Network Dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/strange-turns-in-network-dataset/m-p/1379220#M8615</link>
      <description>&lt;P&gt;I am creating a network dataset and I see some strange maneuvers on the data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-02-07 164029.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93954i1BF0D08347AC3002/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-02-07 164029.png" alt="Screenshot 2024-02-07 164029.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;SO coming from the NorthWest, I am passing the stop and make a turnaround.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-02-07 175112.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93955iE0BA21AB12D1010B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-02-07 175112.png" alt="Screenshot 2024-02-07 175112.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Coming from the southeast I am making this detour.&lt;/P&gt;&lt;P&gt;Yet if the stop is not placed on a junction the route just looks fine!&lt;/P&gt;&lt;P&gt;I have tried several settings in the curb approaches and yet I was not a able to get the shortest/fastest route.&lt;/P&gt;&lt;P&gt;Does anyone have an idea where to look at? I tried all travel modes and all measurements, recreated junctions and so on. Still I have no clue where this might come from!&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 17:11:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/strange-turns-in-network-dataset/m-p/1379220#M8615</guid>
      <dc:creator>RiccardoKlinger</dc:creator>
      <dc:date>2024-02-07T17:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: strange turns in Network Dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/strange-turns-in-network-dataset/m-p/1379245#M8616</link>
      <description>&lt;P&gt;Hmm, I wonder if this is a sign that your network is not connected properly somehow?&amp;nbsp; If the stop is located on a junction that is only connected to one edge and not the other, then the route might have to pass the stop and loop back.&amp;nbsp; It seems kind of unlikely that it would be able to travel down the road at all (that the roads would be somehow connected even if the junctions aren't), but it's a possibility.&amp;nbsp; Try using the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/analysis/networks/explore-network.htm" target="_self"&gt;Explore Network tool&lt;/A&gt; to click on the roads and junctions in that area to see what they're connected to.&lt;/P&gt;&lt;P&gt;Also, in general, locating stops on junctions can lead to some problematic behavior.&amp;nbsp; For instance, if all the streets surrounding the junction are restricted, but the junction isn't, the point will happily locate on the junction and then be unreachable.&amp;nbsp; Also, CurbApproach is ignored for a junction because, as a point, it has no concept of directionality or sides.&amp;nbsp; Unless you have a specific reason you need to locate on junctions, you would be better off adjusting the locate settings to turn off locating on junction sources.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 17:26:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/strange-turns-in-network-dataset/m-p/1379245#M8616</guid>
      <dc:creator>MelindaMorang</dc:creator>
      <dc:date>2024-02-07T17:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: strange turns in Network Dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/strange-turns-in-network-dataset/m-p/1379265#M8617</link>
      <description>&lt;P&gt;Everything seems well connected:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-02-07 185118.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93973i4B08C7EF50D9C09F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-02-07 185118.png" alt="Screenshot 2024-02-07 185118.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-02-07 185136.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/93974i9C28C20A8B388AA7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-02-07 185136.png" alt="Screenshot 2024-02-07 185136.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 17:53:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/strange-turns-in-network-dataset/m-p/1379265#M8617</guid>
      <dc:creator>RiccardoKlinger</dc:creator>
      <dc:date>2024-02-07T17:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: strange turns in Network Dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/strange-turns-in-network-dataset/m-p/1379405#M8619</link>
      <description>&lt;P&gt;Hi Melinda,&lt;/P&gt;&lt;P&gt;I've checked the data again and created a network from scratch which works just fine and routing is as expected. Yet I need to consider single direction restrictions and it seems like it is using a restriction from the single direction road as the limitation if the desired trip stops at a junction:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-02-07 224317.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94011iA43D0726ECEB75AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-02-07 224317.png" alt="Screenshot 2024-02-07 224317.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;once I move the target (2) away from the node it behaves correctly:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-02-07 224355.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94012i3C4A77666B12CD9B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-02-07 224355.png" alt="Screenshot 2024-02-07 224355.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;my code block for the restrictions:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;def OnewayFromTo(dt):
    if dt == "T":
        return True
    if dt == "N":
        return True
    if dt == "B":
        return False
    return False&lt;/LI-CODE&gt;&lt;P&gt;can I design the behaviour at junctions as well?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 21:48:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/strange-turns-in-network-dataset/m-p/1379405#M8619</guid>
      <dc:creator>RiccardoKlinger</dc:creator>
      <dc:date>2024-02-07T21:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: strange turns in Network Dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/strange-turns-in-network-dataset/m-p/1379422#M8620</link>
      <description>&lt;P&gt;and location on junctions is turned of, if I look and interpret this dialogue correctly:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RiccardoKlinger_0-1707344500064.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94017i40357AE7ADFCB22C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RiccardoKlinger_0-1707344500064.png" alt="RiccardoKlinger_0-1707344500064.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 22:21:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/strange-turns-in-network-dataset/m-p/1379422#M8620</guid>
      <dc:creator>RiccardoKlinger</dc:creator>
      <dc:date>2024-02-07T22:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: strange turns in Network Dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/strange-turns-in-network-dataset/m-p/1379429#M8621</link>
      <description>&lt;P&gt;Okay, if you didn't change any of the locate settings on the layer or in the Add Locations tool, then by default it won't locate on the junctions.&amp;nbsp; This would explain your earlier behavior.&amp;nbsp; When you said it was locating on junctions, what it was actually doing was locating on the endpoint of one of the streets at that intersection.&amp;nbsp; If you had oneway restrictions or some kind of configuration that allowed travel only in one direction, then it probably had to go around so it could get to the correct endpoint.&amp;nbsp; Note that there is some kind of tie-breaking logic to determine which of the endpoints it locates on, but I don't know if it's deterministic.&amp;nbsp; Possibly if you re-created the feature, it might locate on a different endpoint, so the behavior might be different from one test to the next.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 22:40:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/strange-turns-in-network-dataset/m-p/1379429#M8621</guid>
      <dc:creator>MelindaMorang</dc:creator>
      <dc:date>2024-02-07T22:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: strange turns in Network Dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/strange-turns-in-network-dataset/m-p/1379430#M8622</link>
      <description>&lt;P&gt;I'm having trouble following exactly what you're describing here. The evaluator logic looks okay to me.&amp;nbsp; I suspect the behavior might have something to do with locating on endpoints as I described in my other comment.&lt;/P&gt;&lt;P&gt;If my most recent comments don't give you enough clues, you might have better luck contacting Esri Support so they can look at your network dataset in detail and help you debug it.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 22:43:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/strange-turns-in-network-dataset/m-p/1379430#M8622</guid>
      <dc:creator>MelindaMorang</dc:creator>
      <dc:date>2024-02-07T22:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: strange turns in Network Dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/strange-turns-in-network-dataset/m-p/1379442#M8623</link>
      <description>&lt;P&gt;Seems strange but you're right:&lt;/P&gt;&lt;P&gt;I copied the single direction road in my street dataset and removed the old one. The new one recieved an higher objectid and I recreated the NDS. Now it behaves correctly. Can i somehow interfer with this in ArcGIS Pro by adding some sort of rule like:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If stop on Node:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;use edge settings from higher ranking functional class!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 23:17:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/strange-turns-in-network-dataset/m-p/1379442#M8623</guid>
      <dc:creator>RiccardoKlinger</dc:creator>
      <dc:date>2024-02-07T23:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: strange turns in Network Dataset</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/strange-turns-in-network-dataset/m-p/1380247#M8626</link>
      <description>&lt;P&gt;quick "recap"&lt;BR /&gt;During stop creation it creates some fields including sourceID, sourceOID, PosAlong and&amp;nbsp;SideOfEdge. These fields are not filled initally but will be resolved during the route finding process.&amp;nbsp;&lt;BR /&gt;The route finding process seems to only check for edges on this position and will take the settings of the first edge it finds. In my personal case the objectID of the edge with single direction traffic was the lowest of the three edges so it was chosen. You can check this solution, when you open the Stops attribute table and scroll to the above mentioned fields. SourceOID is the objectID of the edge it found and used.&lt;/P&gt;&lt;P&gt;To solve this in ArcGIS Pro you can alter the Stop table and fill in the four fields with the desired values and than start solving the route problem.&lt;BR /&gt;On arcGIS Server with a Route Solver NAS you can alter the stops feature set:&lt;BR /&gt;instead of sending&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{"features":[{"geometry":{"spatialReference":{"latestWkid":32632,"wkid":32632},"x":4712.0,"y":816.0},"attributes":{}},{"geometry":{"spatialReference":{"latestWkid":32632,"wkid":32632},"x": 4711.0,"y":815.0},"attributes":{}}]}&lt;/LI-CODE&gt;&lt;P&gt;you should send defining attributes:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{"features":[{"aggregateGeometries":null,"geometry":{"spatialReference":
{"latestWkid":32632,"wkid":32632}
,"x":4712.0,"y":816.0},"attributes":{"SourceID": 2, "SourceOID": 26142977, "PosAlong": 0, "SideOfEdge":1}},{"aggregateGeometries":null,"geometry":{"spatialReference":
{"latestWkid":32632,"wkid":32632}
,"x":4711.0,"y":815.0},"attributes":{"SourceID": 2, "SourceOID": 26156789, "PosAlong": 0, "SideOfEdge":1}}]}&lt;/LI-CODE&gt;&lt;P&gt;The determination of the SourceOID is the up to you. It will not be overwritten by ArcGIS Server.&amp;nbsp;&lt;BR /&gt;Tested with ArcgIS Server 10.9.1&amp;nbsp;&lt;/P&gt;&lt;P&gt;in ArcGIS ENterprise 11, you can also check with the new locateSettings Parameter described here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/route-sync-services.htm#ESRI_SECTION2_71A6EDCD15B64DCE84CCAE459FE03865" target="_blank"&gt;Direct request—ArcGIS REST APIs | ArcGIS Developers&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 11:38:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/strange-turns-in-network-dataset/m-p/1380247#M8626</guid>
      <dc:creator>RiccardoKlinger</dc:creator>
      <dc:date>2024-02-09T11:38:45Z</dc:date>
    </item>
  </channel>
</rss>

