<?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: Spatial join doesn't transfer GlobalID field in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/spatial-join-doesn-t-transfer-globalid-field/m-p/1486973#M84296</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/414513"&gt;@MicZatorsky_AEC&lt;/a&gt;&amp;nbsp;&amp;nbsp;great idea thanks!&lt;/P&gt;&lt;P&gt;I noticed this could be accomplished in the GUI as well&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HanliePetoors_0-1717744251039.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106443i7046DC4D49D738E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HanliePetoors_0-1717744251039.png" alt="HanliePetoors_0-1717744251039.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Hanlie&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jun 2024 07:12:56 GMT</pubDate>
    <dc:creator>HanliePetoors</dc:creator>
    <dc:date>2024-06-07T07:12:56Z</dc:date>
    <item>
      <title>Spatial join doesn't transfer GlobalID field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/spatial-join-doesn-t-transfer-globalid-field/m-p/1483997#M84116</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working in ArcGIS Pro 3.3.0 with an MS SQL Server SDE.&lt;/P&gt;&lt;P&gt;I specified a spatial join as follows because I want to copy the Building.GlobalID field to the RentalUnit.BuildingGlobalID field:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HanliePetoors_0-1717484811632.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106071iF05CC80FD1F0228A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HanliePetoors_0-1717484811632.png" alt="HanliePetoors_0-1717484811632.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But the resultant attribute table doesn't include the GlobalID field:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HanliePetoors_2-1717485013479.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106073i06F6AF27D15E2C82/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HanliePetoors_2-1717485013479.png" alt="HanliePetoors_2-1717485013479.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any ideas why this would be so?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Hanlie&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 07:40:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/spatial-join-doesn-t-transfer-globalid-field/m-p/1483997#M84116</guid>
      <dc:creator>HanliePetoors</dc:creator>
      <dc:date>2024-06-04T07:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial join doesn't transfer GlobalID field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/spatial-join-doesn-t-transfer-globalid-field/m-p/1484281#M84134</link>
      <description>&lt;P&gt;I have experienced the same thing. Hoping that someone has encountered and fixed it!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 13:18:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/spatial-join-doesn-t-transfer-globalid-field/m-p/1484281#M84134</guid>
      <dc:creator>ZachBodenner</dc:creator>
      <dc:date>2024-06-04T13:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial join doesn't transfer GlobalID field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/spatial-join-doesn-t-transfer-globalid-field/m-p/1486746#M84289</link>
      <description>&lt;P&gt;A SpatialJoin in 3.2.2 does not show a joined table's GlobalID in the joined feature class, despite including it in the GUI's field mapping.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MicZatorsky_AEC_0-1717715779866.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106417iAE876D90CFE7923F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MicZatorsky_AEC_0-1717715779866.png" alt="MicZatorsky_AEC_0-1717715779866.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But, if you copy the Python command and edit the field mapping, you can get the Global ID in a Text field. Here, I just changed the output field name to &lt;EM&gt;pt_GlobalID&lt;/EM&gt; and the type to &lt;EM&gt;Text&lt;/EM&gt;:&lt;/P&gt;&lt;PRE&gt;arcpy.analysis.SpatialJoin(&lt;BR /&gt;target_features="foo_pg",&lt;BR /&gt;join_features="foo_pt",&lt;BR /&gt;out_feature_class=r"C:\Scratch\Scratch.gdb\foo_pg_SpatialJoin",&lt;BR /&gt;join_operation="JOIN_ONE_TO_ONE",&lt;BR /&gt;join_type="KEEP_ALL",&lt;BR /&gt;field_mapping='Shape_Length "Shape_Length" false true true 8 Double 0 0,First,#,foo_pg,Shape_Length,-1,-1;Shape_Area "Shape_Area" false true true 8 Double 0 0,First,#,foo_pg,Shape_Area,-1,-1;GlobalID "pt_GlobalID" false false true 38 Text 0 0,First,#,foo_pt,GlobalID,-1,-1;foodoo "foodoo" true true false 100000 Text 0 0,First,#,foo_pt,foodoo,0,99999',&lt;BR /&gt;match_option="INTERSECT",&lt;BR /&gt;search_radius=None,&lt;BR /&gt;distance_field_name="",&lt;BR /&gt;match_fields=None&lt;BR /&gt;)&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MicZatorsky_AEC_3-1717716116233.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106420iABA69BA834AD29C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MicZatorsky_AEC_3-1717716116233.png" alt="MicZatorsky_AEC_3-1717716116233.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 23:24:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/spatial-join-doesn-t-transfer-globalid-field/m-p/1486746#M84289</guid>
      <dc:creator>MicZatorsky_AEC</dc:creator>
      <dc:date>2024-06-06T23:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial join doesn't transfer GlobalID field</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/spatial-join-doesn-t-transfer-globalid-field/m-p/1486973#M84296</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/414513"&gt;@MicZatorsky_AEC&lt;/a&gt;&amp;nbsp;&amp;nbsp;great idea thanks!&lt;/P&gt;&lt;P&gt;I noticed this could be accomplished in the GUI as well&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HanliePetoors_0-1717744251039.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106443i7046DC4D49D738E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HanliePetoors_0-1717744251039.png" alt="HanliePetoors_0-1717744251039.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Hanlie&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 07:12:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/spatial-join-doesn-t-transfer-globalid-field/m-p/1486973#M84296</guid>
      <dc:creator>HanliePetoors</dc:creator>
      <dc:date>2024-06-07T07:12:56Z</dc:date>
    </item>
  </channel>
</rss>

