<?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: Assigning Name based on Spatial location. in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/assigning-name-based-on-spatial-location/m-p/1240240#M63309</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/643547"&gt;@NileshShingade&lt;/a&gt;&amp;nbsp;- you might look to use a Spatial Join&lt;/P&gt;</description>
    <pubDate>Mon, 12 Dec 2022 17:27:49 GMT</pubDate>
    <dc:creator>ALovell-ESRI</dc:creator>
    <dc:date>2022-12-12T17:27:49Z</dc:date>
    <item>
      <title>Assigning Name based on Spatial location.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/assigning-name-based-on-spatial-location/m-p/1240214#M63305</link>
      <description>&lt;P&gt;Hello All, currently i am working on Water-related project. i have a water ponds and GPs(Grampanchyat) shapefiles.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is I have to assign gram panchayat (GP) Name for each pond based on spatial location. currently, I am using Select by location tool (have their center in) to assign the GP name. But there are many GPs and to do this its time taking.&lt;/P&gt;&lt;P&gt;Is there any tool that I can use? or any other method?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 16:47:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/assigning-name-based-on-spatial-location/m-p/1240214#M63305</guid>
      <dc:creator>NileshShingade</dc:creator>
      <dc:date>2022-12-12T16:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Assigning Name based on Spatial location.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/assigning-name-based-on-spatial-location/m-p/1240240#M63309</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/643547"&gt;@NileshShingade&lt;/a&gt;&amp;nbsp;- you might look to use a Spatial Join&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 17:27:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/assigning-name-based-on-spatial-location/m-p/1240240#M63309</guid>
      <dc:creator>ALovell-ESRI</dc:creator>
      <dc:date>2022-12-12T17:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Assigning Name based on Spatial location.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/assigning-name-based-on-spatial-location/m-p/1240338#M63321</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/500615"&gt;@ALovell-ESRI&lt;/a&gt;&amp;nbsp;proposes the simplest solution for sure.&amp;nbsp; Step 1 at least.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Spatial Join --&amp;gt; Export new Feature Class with GP table joined.&amp;nbsp; Perhaps just export&lt;/P&gt;&lt;P&gt;with the joined field of interest, gp_name.&lt;/P&gt;&lt;P&gt;2) Label based on the GP field.&amp;nbsp; Consider a Label Expression similar to below in EXPRESSION box.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that below label expression you will replace "Pond Name" and "GP Loc" with whatever text you want.&amp;nbsp; You will also replace fields [OBJECTID] and [plot_type_code] with [&amp;lt;pond_name_field&amp;gt;] and [&amp;lt;GP_name_field&amp;gt;].&amp;nbsp; FYI - the syntax &amp;lt;pond_name_field&amp;gt; means "replace with the field name of pond from att table".&amp;nbsp; Ditto for &amp;lt;GP_name_field&amp;gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;SEE the labels on map screenshot?&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Zach&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="label_exp.png" style="width: 517px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58323i0CFD1C801408ABB7/image-size/large?v=v2&amp;amp;px=999" role="button" title="label_exp.png" alt="label_exp.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="example_label.png" style="width: 521px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58325iFCE75FFA609D0FC1/image-size/large?v=v2&amp;amp;px=999" role="button" title="example_label.png" alt="example_label.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 20:20:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/assigning-name-based-on-spatial-location/m-p/1240338#M63321</guid>
      <dc:creator>ZacharyUhlmann1</dc:creator>
      <dc:date>2022-12-12T20:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Assigning Name based on Spatial location.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/assigning-name-based-on-spatial-location/m-p/1240757#M63384</link>
      <description>&lt;P&gt;You could also use an arcade expression in field calculator. Open the GPs attribute table, add a new field for the Pond name then right click on the new field and select "Calculate field". Change the Expression Type to Arcade and create an expression. Something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;var GPs = Intersects($feature,FeatureSetByName($map,"Pond", ["Name"]));
return GPs.Name&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 20:07:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/assigning-name-based-on-spatial-location/m-p/1240757#M63384</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-12-13T20:07:49Z</dc:date>
    </item>
  </channel>
</rss>

