<?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: Create a point related to a polygon feature in Pro in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/create-a-point-related-to-a-polygon-feature-in-pro/m-p/1569751#M91387</link>
    <description>&lt;P&gt;Try using an &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/create-modify-and-delete-attribute-rules.htm" target="_blank" rel="noopener"&gt;attribute rule&lt;/A&gt;. (Also you should probably use a relationship class if you aren't already.)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_0-1734531348220.gif" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122015iE1D5F25FD1E88BCE/image-size/large?v=v2&amp;amp;px=999" role="button" title="AlfredBaldenweck_0-1734531348220.gif" alt="AlfredBaldenweck_0-1734531348220.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I did not make a relationship class for this example, but here's my code:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var poly = FeatureSetByName($datastore, "pol")
for (var py in poly){
    if (Intersects(py, $feature)){
        return py.GlobalID
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_1-1734531437666.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122016i963B8AF066C9C3FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="AlfredBaldenweck_1-1734531437666.png" alt="AlfredBaldenweck_1-1734531437666.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_2-1734531597830.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122017i9C73D0C8671524D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AlfredBaldenweck_2-1734531597830.png" alt="AlfredBaldenweck_2-1734531597830.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I wrote this with the idea that the polygons don't intersect and that each point can only be in one polygon. If this is not the case, then it'd be more complicated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Dec 2024 14:20:11 GMT</pubDate>
    <dc:creator>AlfredBaldenweck</dc:creator>
    <dc:date>2024-12-18T14:20:11Z</dc:date>
    <item>
      <title>Create a point related to a polygon feature in Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/create-a-point-related-to-a-polygon-feature-in-pro/m-p/1569729#M91383</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to edit a map that my staff use frequently to collect data in the field. In field maps, they are able to select a polygon feature and use the 'add relationship' button to add a point that is related to that polygon feature. I have a large amount of legacy data that needs to be added to the map, and it would be much easier to do this via Pro or in the Web Map.&lt;/P&gt;&lt;P&gt;Unfortunately, my organization still uses 10.9.1, so the option "add a related feature" is not yet available in the pop-up when I select the polygon feature.&lt;/P&gt;&lt;P&gt;What I've been doing in Pro is manually copying the global id from the polygon feature and pasting it into the attribute table of my new point feature, but this is quite tedious. If anyone has any workarounds, I would appreciate it. Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 14:00:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/create-a-point-related-to-a-polygon-feature-in-pro/m-p/1569729#M91383</guid>
      <dc:creator>HannahLegacy</dc:creator>
      <dc:date>2024-12-18T14:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create a point related to a polygon feature in Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/create-a-point-related-to-a-polygon-feature-in-pro/m-p/1569746#M91386</link>
      <description>&lt;P&gt;Does the point that you want to relate to the polygon intersect the polygon?&amp;nbsp; If yes, a feature form with arcade and &lt;A href="https://developers.arcgis.com/arcade/function-reference/featureset_functions/#intersects" target="_self"&gt;intersect&lt;/A&gt; could be used to calculate the point features relate field to be equal to the polygons globalid.&amp;nbsp; &amp;nbsp;This could happen in Field Maps any time a new point is added or existing point edited.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 14:13:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/create-a-point-related-to-a-polygon-feature-in-pro/m-p/1569746#M91386</guid>
      <dc:creator>MarkBockenhauer</dc:creator>
      <dc:date>2024-12-18T14:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create a point related to a polygon feature in Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/create-a-point-related-to-a-polygon-feature-in-pro/m-p/1569751#M91387</link>
      <description>&lt;P&gt;Try using an &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/create-modify-and-delete-attribute-rules.htm" target="_blank" rel="noopener"&gt;attribute rule&lt;/A&gt;. (Also you should probably use a relationship class if you aren't already.)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_0-1734531348220.gif" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122015iE1D5F25FD1E88BCE/image-size/large?v=v2&amp;amp;px=999" role="button" title="AlfredBaldenweck_0-1734531348220.gif" alt="AlfredBaldenweck_0-1734531348220.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I did not make a relationship class for this example, but here's my code:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var poly = FeatureSetByName($datastore, "pol")
for (var py in poly){
    if (Intersects(py, $feature)){
        return py.GlobalID
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_1-1734531437666.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122016i963B8AF066C9C3FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="AlfredBaldenweck_1-1734531437666.png" alt="AlfredBaldenweck_1-1734531437666.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredBaldenweck_2-1734531597830.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122017i9C73D0C8671524D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AlfredBaldenweck_2-1734531597830.png" alt="AlfredBaldenweck_2-1734531597830.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I wrote this with the idea that the polygons don't intersect and that each point can only be in one polygon. If this is not the case, then it'd be more complicated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 14:20:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/create-a-point-related-to-a-polygon-feature-in-pro/m-p/1569751#M91387</guid>
      <dc:creator>AlfredBaldenweck</dc:creator>
      <dc:date>2024-12-18T14:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create a point related to a polygon feature in Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/create-a-point-related-to-a-polygon-feature-in-pro/m-p/1570209#M91428</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/812701"&gt;@HannahLegacy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you using the Attributes pane? You should be able to use the "Add Selected To Relationship" command if you select the points and the polygon. Like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Scott_Harris_0-1734622456059.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122127i41C2076BEE68CDE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Scott_Harris_0-1734622456059.png" alt="Scott_Harris_0-1734622456059.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;ref:&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/editing/edit-feature-relationships.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/editing/edit-feature-relationships.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 15:34:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/create-a-point-related-to-a-polygon-feature-in-pro/m-p/1570209#M91428</guid>
      <dc:creator>Scott_Harris</dc:creator>
      <dc:date>2024-12-19T15:34:33Z</dc:date>
    </item>
  </channel>
</rss>

