<?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: error in join field &amp;quot;name 'self' is not defined&amp;quot; in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/error-in-join-field-quot-name-self-is-not-defined/m-p/1596237#M11227</link>
    <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/geoanalytics-desktop/join-features.htm" target="_blank"&gt;Join Features (GeoAnalytics Desktop)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;from the code example, "layers" are required for the inputs, and the workspace was defined.&lt;/P&gt;&lt;P&gt;Is that your case? or is there more code?&lt;/P&gt;</description>
    <pubDate>Mon, 17 Mar 2025 17:40:55 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2025-03-17T17:40:55Z</dc:date>
    <item>
      <title>error in join field "name 'self' is not defined"</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/error-in-join-field-quot-name-self-is-not-defined/m-p/1596196#M11226</link>
      <description>&lt;P&gt;I'm having an issue about "join feature" in geoanalytics server tool. I'm trying to build the tool in arcpy, but also playing in toolbox for testing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In ArcGIS Pro, in toolbox, it's returning me that error:&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcToolBox\scripts\ga_server_joinfeatures.py", line 42, in &amp;lt;module&amp;gt;&lt;BR /&gt;params['context'] = set_context(arcpy.env.outputCoordinateSystem,&lt;BR /&gt;NameError: name 'self' is not defined&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in jupyter, i'm coding like that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;arcpy.geoanalytics.JoinFeatures(&lt;BR /&gt;target_layer="https://#####/server/rest/services/Hosted/grid_project/FeatureServer/3",&lt;BR /&gt;join_layer="https://####/server/rest/services/Hosted/grid_street_intersect_sum_teste/FeatureServer/0",&lt;BR /&gt;output_name='"JoinFeature_grid"',&lt;BR /&gt;join_operation="JOIN_ONE_TO_ONE",&lt;BR /&gt;spatial_relationship="",&lt;BR /&gt;spatial_near_distance=None,&lt;BR /&gt;temporal_relationship="",&lt;BR /&gt;temporal_near_distance=None,&lt;BR /&gt;attribute_relationship="id_unico id_unico",&lt;BR /&gt;summary_fields=None,&lt;BR /&gt;join_condition="",&lt;BR /&gt;data_store="SPATIOTEMPORAL_DATA_STORE",&lt;BR /&gt;keep_all_target_features="KEEP_ALL",&lt;BR /&gt;include_distance=None,&lt;BR /&gt;distance_unit=""&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And it also return to me "name 'self' is not defined".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help me with that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 16:44:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/error-in-join-field-quot-name-self-is-not-defined/m-p/1596196#M11226</guid>
      <dc:creator>CecilaMalvezzi</dc:creator>
      <dc:date>2025-03-17T16:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: error in join field "name 'self' is not defined"</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/error-in-join-field-quot-name-self-is-not-defined/m-p/1596237#M11227</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/geoanalytics-desktop/join-features.htm" target="_blank"&gt;Join Features (GeoAnalytics Desktop)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;from the code example, "layers" are required for the inputs, and the workspace was defined.&lt;/P&gt;&lt;P&gt;Is that your case? or is there more code?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 17:40:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/error-in-join-field-quot-name-self-is-not-defined/m-p/1596237#M11227</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2025-03-17T17:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: error in join field "name 'self' is not defined"</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/error-in-join-field-quot-name-self-is-not-defined/m-p/1596295#M11230</link>
      <description>&lt;P&gt;Hi CecilaMalvezzi,&lt;/P&gt;&lt;P&gt;Would you be able to share the version of Pro and Server that you are using?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 19:59:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/error-in-join-field-quot-name-self-is-not-defined/m-p/1596295#M11230</guid>
      <dc:creator>DerekGourley</dc:creator>
      <dc:date>2025-03-17T19:59:48Z</dc:date>
    </item>
  </channel>
</rss>

