<?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: Issues using a user defined feature class for trace starting point locations - ArcGIS Pro 2.7 in Trace Network Questions</title>
    <link>https://community.esri.com/t5/trace-network-questions/issues-using-a-user-defined-feature-class-for/m-p/1020722#M61</link>
    <description>&lt;P&gt;Hi Austen,&lt;/P&gt;&lt;P&gt;I am sorry to hear of the challenges you are running into.&amp;nbsp; You are correct that the&amp;nbsp;&lt;SPAN&gt;SOURCEID/FEATUREGLOBALID are&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;required for trace locations coming from a user defined feature class.&amp;nbsp; When these fields are absent from the schema, the geometry of the input feature class is used to intersect the geometry of the network feature and place the starting points.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The team addressed issues related to trace locations&amp;nbsp;placed&amp;nbsp;on junction&amp;nbsp;features in the 2.7 release.&amp;nbsp; It sounds as though the issues you are seeing are specific to Shortest Path traces alone?&amp;nbsp; Is that correct or are you seeing this with other trace types as well?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;One issue that we were unable to get into 2.7 related to placement of starting points on junction&amp;nbsp;features when performing a shortest path trace.&amp;nbsp; &amp;nbsp; If this is encountered only with Shortest Path traces you may be encountering this behavior; however, in that scenario populating FEATUREGLOBALID&amp;nbsp;enabled you to work around that limitation.&amp;nbsp; One additional scenario that could trigger &lt;FONT size="3"&gt;002512&lt;/FONT&gt; is when more&amp;nbsp;(or less) than 2 trace locations exist.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To confirm, I reproduced this again with a 2.7 client before testing&amp;nbsp; with a recent 2.8 build where I was no longer able to reproduce the issue.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you confirm whether creating a new junction&amp;nbsp;feature class and populating this with the GLOBALID of the source network feature allows you to run the trace?&amp;nbsp; It is possible I am missing a component of your workflow.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="inherit"&gt;One other potential.&amp;nbsp; am not sure if this would be &lt;/FONT&gt;feasible&lt;FONT face="inherit"&gt;&amp;nbsp;based on the length of your edge features in the network; however, one potential solution in the interim would be to place the user-defined starting points along an edge.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="inherit"&gt;&lt;BR /&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="inherit"&gt;Jon&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jan 2021 21:34:22 GMT</pubDate>
    <dc:creator>JonDeRose</dc:creator>
    <dc:date>2021-01-27T21:34:22Z</dc:date>
    <item>
      <title>Issues using a user defined feature class for trace starting point locations - ArcGIS Pro 2.7</title>
      <link>https://community.esri.com/t5/trace-network-questions/issues-using-a-user-defined-feature-class-for/m-p/1020624#M60</link>
      <description>&lt;P&gt;I am having issues with using a user defined feature class for identifying starting point locations. I have thoroughly read through the following discussions already addressing some issues of similar nature, however, I am still receiving error when I input my user defined starting points into the Trace tool:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/trace-network-questions/trace-downstream-doesn-t-return-ending-barrier/m-p/1007392/highlight/true#M50" target="_blank"&gt;https://community.esri.com/t5/trace-network-questions/trace-downstream-doesn-t-return-ending-barrier/m-p/1007392/highlight/true#M50&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/trace-network-questions/trace-from-ribbon-vs-from-exported-feature-class/m-p/205156#M12" target="_blank"&gt;https://community.esri.com/t5/trace-network-questions/trace-from-ribbon-vs-from-exported-feature-class/m-p/205156#M12&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I get the impression from the above discussions and from the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/trace-network/starting-points.htm" target="_self"&gt;Starting points&lt;/A&gt; documentation that the SOURCEID/FEATUREGLOBALID are &lt;STRONG&gt;not&lt;/STRONG&gt; required in the user defined feature class. When creating my starting point feature class, I am ensuring that my points are not only snapped to a network feature end point, but also to the location of a system junctions created when the trace network is established.&amp;nbsp; My starting point feature class has two points as I am attempting to trace using the shortest path trace type. When using the&amp;nbsp;TN_Temp_Starting_Points feature class created by the Trace Locations tool, I can successfully trace, however, when using a user defined trace location feature class (exact same point locations) I have received the following errors on different occasions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT size="3"&gt;001785: No valid starting locations found&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="3"&gt;002512: Shortest path requires two junction starting points.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT size="3"&gt;I have also tired adding&amp;nbsp;SOURCEID/FEATUREGLOBALID fields to my trace locations feature class and populating the FEATUREGLOBALID&amp;nbsp; with the corresponding network feature GLOBALID and populating the SOURCEID with the OBJECT ID of the system junction, with no success. I am hoping to be able to use a user defined feature class for identifying trace start points without the need to populate the&amp;nbsp;SOURCEID/FEATUREGLOBALID fields, as I will have a script that will create and iterate through hundreds of trace start point combinations and trace the shortest path.&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;I am using ArcGIS Pro 2.7. Unfortunately I am not a liberty share any of my network data, so if any additional information is needed other thy the errors I am encountering, please let me know and I would be glad to provide further detail.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any insight into my issue!&lt;/P&gt;&lt;P&gt;Cheers,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Austen&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 19:34:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/trace-network-questions/issues-using-a-user-defined-feature-class-for/m-p/1020624#M60</guid>
      <dc:creator>AustenCutrell2</dc:creator>
      <dc:date>2021-01-27T19:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issues using a user defined feature class for trace starting point locations - ArcGIS Pro 2.7</title>
      <link>https://community.esri.com/t5/trace-network-questions/issues-using-a-user-defined-feature-class-for/m-p/1020722#M61</link>
      <description>&lt;P&gt;Hi Austen,&lt;/P&gt;&lt;P&gt;I am sorry to hear of the challenges you are running into.&amp;nbsp; You are correct that the&amp;nbsp;&lt;SPAN&gt;SOURCEID/FEATUREGLOBALID are&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;required for trace locations coming from a user defined feature class.&amp;nbsp; When these fields are absent from the schema, the geometry of the input feature class is used to intersect the geometry of the network feature and place the starting points.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The team addressed issues related to trace locations&amp;nbsp;placed&amp;nbsp;on junction&amp;nbsp;features in the 2.7 release.&amp;nbsp; It sounds as though the issues you are seeing are specific to Shortest Path traces alone?&amp;nbsp; Is that correct or are you seeing this with other trace types as well?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;One issue that we were unable to get into 2.7 related to placement of starting points on junction&amp;nbsp;features when performing a shortest path trace.&amp;nbsp; &amp;nbsp; If this is encountered only with Shortest Path traces you may be encountering this behavior; however, in that scenario populating FEATUREGLOBALID&amp;nbsp;enabled you to work around that limitation.&amp;nbsp; One additional scenario that could trigger &lt;FONT size="3"&gt;002512&lt;/FONT&gt; is when more&amp;nbsp;(or less) than 2 trace locations exist.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To confirm, I reproduced this again with a 2.7 client before testing&amp;nbsp; with a recent 2.8 build where I was no longer able to reproduce the issue.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you confirm whether creating a new junction&amp;nbsp;feature class and populating this with the GLOBALID of the source network feature allows you to run the trace?&amp;nbsp; It is possible I am missing a component of your workflow.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="inherit"&gt;One other potential.&amp;nbsp; am not sure if this would be &lt;/FONT&gt;feasible&lt;FONT face="inherit"&gt;&amp;nbsp;based on the length of your edge features in the network; however, one potential solution in the interim would be to place the user-defined starting points along an edge.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="inherit"&gt;&lt;BR /&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="inherit"&gt;Jon&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 21:34:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/trace-network-questions/issues-using-a-user-defined-feature-class-for/m-p/1020722#M61</guid>
      <dc:creator>JonDeRose</dc:creator>
      <dc:date>2021-01-27T21:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Issues using a user defined feature class for trace starting point locations - ArcGIS Pro 2.7</title>
      <link>https://community.esri.com/t5/trace-network-questions/issues-using-a-user-defined-feature-class-for/m-p/1021058#M62</link>
      <description>&lt;P&gt;Hi Jon,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the prompt reply. To address your comments/questions see below:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;My issue with using user defined start points is not specific to the Shortest Path trace type. I receive error "001785 - No valid starting locations found" for all trace types.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;I am stumped why at one point I received error "002512: Shortest path requires two junction starting points." The feature class I am using only contains two features.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;I created a feature class and populated the a FEATUREGLOBALID field with the GLOBALID of the source network feature.&amp;nbsp;These points were snapped along the edge of the source network feature and still will not successfully trace, prompting error "001785 - No valid starting locations."&amp;nbsp; See screen shots below of my start points and source network features, labeled&amp;nbsp;with GLOBALID, and the attribute table of my starting points feature class.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Starting point 1" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4797iD8EA46AC349869D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StartingPoint1.JPG" alt="Starting point 1" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Starting point 1&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Starting point 2" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4798iB48E1C825F52FBD1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StartingPoint2.JPG" alt="Starting point 2" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Starting point 2&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 16:15:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/trace-network-questions/issues-using-a-user-defined-feature-class-for/m-p/1021058#M62</guid>
      <dc:creator>AustenCutrell2</dc:creator>
      <dc:date>2021-01-28T16:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Issues using a user defined feature class for trace starting point locations - ArcGIS Pro 2.7</title>
      <link>https://community.esri.com/t5/trace-network-questions/issues-using-a-user-defined-feature-class-for/m-p/1022250#M63</link>
      <description>&lt;P&gt;Austen -&lt;/P&gt;&lt;P&gt;I am not able to reproduce this behavior with 2.7.&amp;nbsp; I'll reach out to you separately to see if we can identify differences between our two approaches or determine if working with Support might be a better avenue.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 19:32:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/trace-network-questions/issues-using-a-user-defined-feature-class-for/m-p/1022250#M63</guid>
      <dc:creator>JonDeRose</dc:creator>
      <dc:date>2021-02-01T19:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Issues using a user defined feature class for trace starting point locations - ArcGIS Pro 2.7</title>
      <link>https://community.esri.com/t5/trace-network-questions/issues-using-a-user-defined-feature-class-for/m-p/1025426#M64</link>
      <description>&lt;P&gt;A note on SOURCEID.&amp;nbsp; If you are going to populate it, it should be the ID of the feature class with respect to its participation in the trace network, NOT the ObjectID of the feature.&amp;nbsp; Given a trace network layer, and a feature layer participating in a trace network, here's a function that illustrates how to identify the SOURCEID.&amp;nbsp; I use this in my script tools as I'm getting ready to perform traces.&amp;nbsp; I do not know how to see the SOURCEID from the user interface without using arcpy.Describe.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;def get_source_id(network, network_layer):
    d = arcpy.Describe(network_layer)
    fc_name = d.featureClass.name
    
    d = arcpy.Describe(network)
    for s in d.sources:
        if s.name == fc_name:
            return s.sourceID

    arcpy.AddError(
        'Could not determine network source ID for ' + network_layer.name)
    raise arcpy.ExecuteError&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you've taken the conversation offline, will you please post the solution here once you've found one?&amp;nbsp; I'm curious!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 16:49:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/trace-network-questions/issues-using-a-user-defined-feature-class-for/m-p/1025426#M64</guid>
      <dc:creator>TimWhiteaker</dc:creator>
      <dc:date>2021-02-10T16:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Issues using a user defined feature class for trace starting point locations - ArcGIS Pro 2.7</title>
      <link>https://community.esri.com/t5/trace-network-questions/issues-using-a-user-defined-feature-class-for/m-p/1025468#M66</link>
      <description>&lt;P&gt;As I have taken a closer look at my user defined start point issue, it turns out my problem all along was what Jon initially indicated: "&lt;STRONG&gt;One issue that we were unable to get into 2.7 related to placement of starting points on junction&amp;nbsp;features when performing a shortest path trace. If this is encountered only with Shortest Path traces you may be encountering this behavior"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Since I am a newb Python scripter, I was unsure how to access/use the TN_385_SystemJunctions feature that is created when the trace network is generated in order to assign the GLOBALID from these features as the FEATUREGLOBALID in my user defined start points. The&amp;nbsp;arcpy.ListFeatureClasses or arcpy.ListDatasets does not appear to identify sublayers/features within the trace network.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My workaround was to add my user defined "start points" as an input junction into the trace network and assign the FEATUREGLOBALID of a separate start point feature class the GLOBALID of the junction feature using a spatial join. This allowed me to initial shortest path traces on what was before a system generated junction&amp;nbsp;feature that was the source of the error.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jon has confirmed that this will be addressed in ArcPro 2.8. Again, I think Jon as ESRI for his assistance with this problem.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Cheers,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Austen&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 17:53:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/trace-network-questions/issues-using-a-user-defined-feature-class-for/m-p/1025468#M66</guid>
      <dc:creator>AustenCutrell2</dc:creator>
      <dc:date>2021-02-10T17:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issues using a user defined feature class for trace starting point locations - ArcGIS Pro 2.7</title>
      <link>https://community.esri.com/t5/trace-network-questions/issues-using-a-user-defined-feature-class-for/m-p/1025473#M67</link>
      <description>&lt;P&gt;Thanks for the reminder&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/17232"&gt;@TimWhiteaker&lt;/a&gt;&amp;nbsp;!&amp;nbsp; I discussed with &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/381441"&gt;@AustenCutrell2&lt;/a&gt;&amp;nbsp;a bit further and we identified that the only remaining issues encountered were related to placement of user-defined starting points on junction features when performing a shortest path trace.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This issue was addressed as part of the 2.8 work.&amp;nbsp; In this use case, populating FEATUREGLOBALID for the trace location enables a work around.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To your point&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/17232"&gt;@TimWhiteaker&lt;/a&gt;&amp;nbsp;, you are correct arcpy.Describe would be the method to get access to the SOURCEID; however, as I mentioned previously, this is &lt;STRONG&gt;NOT&lt;/STRONG&gt; required for user-defined trace locations.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When working&amp;nbsp;with a trace network&amp;nbsp;in a file geodatabase we can supply the FEATUREGLOBALID to provide granularity over which features in a trace locations&amp;nbsp;feature class will be honored.&amp;nbsp; If this field is absent from the schema of the trace locations&amp;nbsp;feature class,&amp;nbsp;the geometry of the feature class is used to intersect the network feature geometry and place starting points or barriers.&amp;nbsp; &lt;STRONG&gt;Note that this does not apply to Trace Network Services with the upcoming release of Enterprise 10.9, in that case,&amp;nbsp;FEATUREGLOBALID is a requirement.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Jon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 17:59:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/trace-network-questions/issues-using-a-user-defined-feature-class-for/m-p/1025473#M67</guid>
      <dc:creator>JonDeRose</dc:creator>
      <dc:date>2021-02-10T17:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issues using a user defined feature class for trace starting point locations - ArcGIS Pro 2.7</title>
      <link>https://community.esri.com/t5/trace-network-questions/issues-using-a-user-defined-feature-class-for/m-p/1025488#M68</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/921"&gt;@JonDeRose&lt;/a&gt;&amp;nbsp;mentioned my issue was &lt;SPAN&gt;related to placement of user-defined starting points on junction features when performing a shortest path trace.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Since I am a newb Python scripter, I was unsure how to access/use the TN_385_SystemJunctions feature that is created when the trace network is generated in order to assign the GLOBALID from these features as the FEATUREGLOBALID in my user defined start points. Discussing further with&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/921"&gt;@JonDeRose&lt;/a&gt;&amp;nbsp;,&amp;nbsp;the&amp;nbsp;arcpy.ListFeatureClasses or arcpy.ListDatasets does not appear to identify sublayers/features within the trace network.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My workaround was to add my user defined "start points" as an input junction into the trace network and assign the FEATUREGLOBALID of a separate start point feature class the GLOBALID of the junction feature using a spatial join. This allowed me to initial shortest path traces on what was before a system generated junction&amp;nbsp;feature that was the source of the error. Not optimal, but works!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Cheers,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Austen&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 18:16:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/trace-network-questions/issues-using-a-user-defined-feature-class-for/m-p/1025488#M68</guid>
      <dc:creator>AustenCutrell2</dc:creator>
      <dc:date>2021-02-10T18:16:55Z</dc:date>
    </item>
  </channel>
</rss>

