<?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: Update Attribute of Intersecting from Point of Various Feature Classes Within the Same Geodatabase in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/update-attribute-of-intersecting-from-point-of/m-p/1077419#M43134</link>
    <description>&lt;P&gt;I am actually looking to make a rule for the same exact reason. I need a FromStructure and ToStructure Rule that intersects three different layers (catchbasins, inlets, and manholes). My thought was to set up the "fromPoint" variable to include the intersection of all three but I have been unsuccessful so far. &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/352367"&gt;@MelissaSalich&lt;/a&gt;&amp;nbsp;were you ever able to create a rule to accomplish this? My code looks almost identical to what you have above to get started with just one intersection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3374"&gt;@JoeBorgione&lt;/a&gt;&amp;nbsp;I do not think that rule helps this situation. We need a rule that will allow for the intersection of all three since the storm main connects to storm manholes, inlets, and catchbasins. Any more insight would be very helpful!&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jul 2021 20:43:16 GMT</pubDate>
    <dc:creator>GISUSER6</dc:creator>
    <dc:date>2021-07-09T20:43:16Z</dc:date>
    <item>
      <title>Update Attribute of Intersecting from Point of Various Feature Classes Within the Same Geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/update-attribute-of-intersecting-from-point-of/m-p/1044800#M39405</link>
      <description>&lt;P&gt;I'm looking for help with Arcade to get the fsPoint from a variety of feature classes.&lt;/P&gt;&lt;P&gt;I have storm pipes that would be snapped to catch basins, manholes, or outfall points.&lt;/P&gt;&lt;P&gt;What expression should I be using to pull from my Stormwater Feature Dataset within my geodatabase?&lt;/P&gt;&lt;P&gt;Pro 2.6, geodatabase environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;var g = Geometry($feature);

var fromPointGeometry = g.paths[0][0];

var fsPoint = FeatureSetByName($datastore, "swCatchBasin", ["FACILITYID"], false);

var fromPoint = First(Intersects(fsPoint, fromPointGeometry ) )

if (fromPoint == null) return -1;

return fromPoint.FACILITYID;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 19:02:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/update-attribute-of-intersecting-from-point-of/m-p/1044800#M39405</guid>
      <dc:creator>MelissaSalich</dc:creator>
      <dc:date>2021-04-07T19:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Update Attribute of Intersecting from Point of Various Feature Classes Within the Same Geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/update-attribute-of-intersecting-from-point-of/m-p/1044827#M39413</link>
      <description>&lt;P&gt;In &lt;A href="https://community.esri.com/t5/geodatabase-questions/pull-data-from-polygon-feature-to-point-feature-class/m-p/1039317#M7065" target="_self"&gt;this post&lt;/A&gt; I provide an arcade attribute rule: is that what you are asking for?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 19:45:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/update-attribute-of-intersecting-from-point-of/m-p/1044827#M39413</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-04-07T19:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Update Attribute of Intersecting from Point of Various Feature Classes Within the Same Geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/update-attribute-of-intersecting-from-point-of/m-p/1077419#M43134</link>
      <description>&lt;P&gt;I am actually looking to make a rule for the same exact reason. I need a FromStructure and ToStructure Rule that intersects three different layers (catchbasins, inlets, and manholes). My thought was to set up the "fromPoint" variable to include the intersection of all three but I have been unsuccessful so far. &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/352367"&gt;@MelissaSalich&lt;/a&gt;&amp;nbsp;were you ever able to create a rule to accomplish this? My code looks almost identical to what you have above to get started with just one intersection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3374"&gt;@JoeBorgione&lt;/a&gt;&amp;nbsp;I do not think that rule helps this situation. We need a rule that will allow for the intersection of all three since the storm main connects to storm manholes, inlets, and catchbasins. Any more insight would be very helpful!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 20:43:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/update-attribute-of-intersecting-from-point-of/m-p/1077419#M43134</guid>
      <dc:creator>GISUSER6</dc:creator>
      <dc:date>2021-07-09T20:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Update Attribute of Intersecting from Point of Various Feature Classes Within the Same Geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/update-attribute-of-intersecting-from-point-of/m-p/1077963#M43212</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/352367"&gt;@MelissaSalich&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if this is helpful or not but I was able to come up with a workaround solution with multiple attribute rules until a single attribute rule is figured out.&amp;nbsp;&lt;A title="Attribute Rules for From Points and To Points" href="https://community.esri.com/t5/attribute-rules-ideas/combine-multiple-attribute-intersects-in-one-rule/idc-p/1077955/highlight/true#M18" target="_blank" rel="noopener"&gt;See Here&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 18:43:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/update-attribute-of-intersecting-from-point-of/m-p/1077963#M43212</guid>
      <dc:creator>GISUSER6</dc:creator>
      <dc:date>2021-07-12T18:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Update Attribute of Intersecting from Point of Various Feature Classes Within the Same Geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/update-attribute-of-intersecting-from-point-of/m-p/1077980#M43214</link>
      <description>&lt;P&gt;I worked with ROK Technologies to get this worked out.&amp;nbsp;&lt;BR /&gt;This example is for a stormwater feature dataset.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;var fsPoint4 = FeatureSetByName($datastore, "swCleanOut", ["FACILITYID"], false);

var fsPoint5 = FeatureSetByName($datastore, "swFitting", ["FACILITYID"], false);

var fsPoint6 = FeatureSetByName($datastore, "swNetworkStructure", ["FACILITYID"], false);

var fromPoint = First(Intersects(fsPoint, fromPointGeometry ) )

var fromPoint2 = First(Intersects(fsPoint2, fromPointGeometry ) )

var fromPoint3 = First(Intersects(fsPoint3, fromPointGeometry ) )

var fromPoint4 = First(Intersects(fsPoint4, fromPointGeometry ) )

var fromPoint5 = First(Intersects(fsPoint5, fromPointGeometry ) )

var fromPoint6 = First(Intersects(fsPoint6, fromPointGeometry ) )

if (fromPoint != null) 
  return fromPoint.FACILITYID;
else if (fromPoint2 != null) 
  return fromPoint2.FACILITYID;
else if (fromPoint3 != null) 
  return fromPoint3.FACILITYID;
else if (fromPoint4 != null) 
  return fromPoint4.FACILITYID;
else if (fromPoint5 != null) 
  return fromPoint5.FACILITYID;
else if (fromPoint6 != null) 
  return fromPoint6.FACILITYID;
else
  return -1;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 19:17:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/update-attribute-of-intersecting-from-point-of/m-p/1077980#M43214</guid>
      <dc:creator>Melissa_Salich</dc:creator>
      <dc:date>2021-07-12T19:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Update Attribute of Intersecting from Point of Various Feature Classes Within the Same Geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/update-attribute-of-intersecting-from-point-of/m-p/1078009#M43215</link>
      <description>&lt;P&gt;Wonderful! Thanks for sharing!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 20:25:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/update-attribute-of-intersecting-from-point-of/m-p/1078009#M43215</guid>
      <dc:creator>GISUSER6</dc:creator>
      <dc:date>2021-07-12T20:25:44Z</dc:date>
    </item>
  </channel>
</rss>

