<?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: Identify if feature set is coincident with network features for trace in script t in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/identify-if-feature-set-is-coincident-with-network/m-p/471440#M36790</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;Do you know if you can obtain the results from the SNAP_EDIT, like it snaped x number of features...?&lt;/PRE&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suspect there isn't a direct way to do this... I would think you would have to inspect the geometry to see what changed. Maybe there is something in the result object though, but I doubt it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll always be a 490 to me...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jun 2013 17:28:52 GMT</pubDate>
    <dc:creator>ChrisSnyder</dc:creator>
    <dc:date>2013-06-06T17:28:52Z</dc:date>
    <item>
      <title>Identify if feature set is coincident with network features for trace in script tool</title>
      <link>https://community.esri.com/t5/python-questions/identify-if-feature-set-is-coincident-with-network/m-p/471435#M36785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a script tool that uses the Trace Geometric Network tool with a feature set as flags to allow user defined flags.&amp;nbsp; I use the Snap_edit to make the flags coincident with the network features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to be able to tell the user in a message through validation if their flag is not coincident with the network, instead of the tool failing while the trace is performed and gives&amp;nbsp; a " ERROR 001191: No flag found from the flag junction feature class".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's the best way to identify if the feature set is coincident with network features within the tool validation?&amp;nbsp; How can you tell if the SNAP_EDIT actually snapped to anything?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In an ideal world, the flag would not be allowed if it wasn't coincident (like the add-in tool).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 16:38:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/identify-if-feature-set-is-coincident-with-network/m-p/471435#M36785</guid>
      <dc:creator>ChristinaKellum</dc:creator>
      <dc:date>2013-06-05T16:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Identify if feature set is coincident with network features for trace in script t</title>
      <link>https://community.esri.com/t5/python-questions/identify-if-feature-set-is-coincident-with-network/m-p/471436#M36786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Curious. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should not be able to place flags except on the network. Do you have multiple networks in your instance?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just tried it to make sure and it is only allowing flags to go direct onto a network feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have multiple networks active you need to select from the drop down menu which network you are trying to place the flag on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have a script tool that uses the Trace Geometric Network tool with a feature set as flags to allow user defined flags.&amp;nbsp; I use the Snap_edit to make the flags coincident with the network features.&lt;BR /&gt;&lt;BR /&gt;I want to be able to tell the user in a message through validation if their flag is not coincident with the network, instead of the tool failing while the trace is performed and gives&amp;nbsp; a " ERROR 001191: No flag found from the flag junction feature class".&lt;BR /&gt;&lt;BR /&gt;What's the best way to identify if the feature set is coincident with network features within the tool validation?&amp;nbsp; How can you tell if the SNAP_EDIT actually snapped to anything?&lt;BR /&gt;&lt;BR /&gt;In an ideal world, the flag would not be allowed if it wasn't coincident (like the add-in tool).&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 16:42:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/identify-if-feature-set-is-coincident-with-network/m-p/471436#M36786</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2013-06-05T16:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Identify if feature set is coincident with network features for trace in script t</title>
      <link>https://community.esri.com/t5/python-questions/identify-if-feature-set-is-coincident-with-network/m-p/471437#M36787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is not using the Utility Network Toolbar, but creating a python script tool using the TraceGeometricNetwork in arcpy.&amp;nbsp; I would like for my feature set to function like the toolbar, not allowing you to to create a flag unless it's on the network.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 18:08:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/identify-if-feature-set-is-coincident-with-network/m-p/471437#M36787</guid>
      <dc:creator>ChristinaKellum</dc:creator>
      <dc:date>2013-06-05T18:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Identify if feature set is coincident with network features for trace in script t</title>
      <link>https://community.esri.com/t5/python-questions/identify-if-feature-set-is-coincident-with-network/m-p/471438#M36788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How about just some derivation of SelectByLocation as part of the validation? As in if the featureset point "INTERSECT" your network, then you are good to go. This post: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/35323-ArcPy-amp-SelectLayerByLocation-Performance?p=119305&amp;amp;viewfull=1#post119305"&gt;http://forums.arcgis.com/threads/35323-ArcPy-amp-SelectLayerByLocation-Performance?p=119305&amp;amp;viewfull=1#post119305&lt;/A&gt;&lt;SPAN&gt; might give you some ideas to make the SelectByLocation be more efficient.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, when your users create the points in your featureset in v10.0 +, the "auto snapping" should be turned on (unless you have "traditional snapping" turned on), so using the snap_edit tool might be redundant, but maybe not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. Shouldn't you be 461 or something?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 20:23:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/identify-if-feature-set-is-coincident-with-network/m-p/471438#M36788</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2013-06-05T20:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Identify if feature set is coincident with network features for trace in script t</title>
      <link>https://community.esri.com/t5/python-questions/identify-if-feature-set-is-coincident-with-network/m-p/471439#M36789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the ideas...I'll let you know how it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know if you can obtain the results from the SNAP_EDIT, like it snaped x number of features...?&amp;nbsp; If I run the snap tool it'll tell me that it ran successfully even if nothing snapped.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good question about the auto-snapping.&amp;nbsp; Since the snapping is dependent on the user's settings, (snaps to point, edge etc, or they turn snapping off) I wanted to have it in the code as a just-in-case their snapping env isn't what it should be...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I might try to validate if the point/s are within x feet from network, throw an error if they are not, and snap if they are.&amp;nbsp; something like that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ps can't change my login... I'll forever be ckel490 to ESRI&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 17:15:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/identify-if-feature-set-is-coincident-with-network/m-p/471439#M36789</guid>
      <dc:creator>ChristinaKellum</dc:creator>
      <dc:date>2013-06-06T17:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Identify if feature set is coincident with network features for trace in script t</title>
      <link>https://community.esri.com/t5/python-questions/identify-if-feature-set-is-coincident-with-network/m-p/471440#M36790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;Do you know if you can obtain the results from the SNAP_EDIT, like it snaped x number of features...?&lt;/PRE&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suspect there isn't a direct way to do this... I would think you would have to inspect the geometry to see what changed. Maybe there is something in the result object though, but I doubt it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll always be a 490 to me...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 17:28:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/identify-if-feature-set-is-coincident-with-network/m-p/471440#M36790</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2013-06-06T17:28:52Z</dc:date>
    </item>
  </channel>
</rss>

