<?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 Geoanalytics Spatial Join Error in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/geoanalytics-spatial-join-error/m-p/1495396#M84796</link>
    <description>&lt;P&gt;I want do a spatial join with an if condition, so I'm attempting to use the Geoanalytics Desktop Tool version of a Spatial Join. I've got the input files stored locally and set the output path to be the same geodatabase. The geodatabase stored locally with a short filepath and no special characters in the path such as spaces.&lt;/P&gt;&lt;P&gt;Additionally ArcPro is &lt;STRONG&gt;not&lt;/STRONG&gt; installed C:\Program Files (x86) (as I've seen this can be an issue) and have admin rights on the machine I'm using.&lt;/P&gt;&lt;P&gt;However each time I try to run the process I get the same error 'Failed to write to the output location'. Not sure if there's something specific with these tools I'm missing but any ideas would be very useful.&lt;/P&gt;&lt;P&gt;Edit note: changing the code snipped just to illustrate the fail that occured even with underscores etc removed&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Join Features&lt;BR /&gt;=====================&lt;BR /&gt;Parameters&lt;/P&gt;&lt;P&gt;Target Layer C:\BusinessSchoolBiodiversityFinance\working.gdb\SDC&lt;BR /&gt;Join Layer C:\BusinessSchoolBiodiversityFinance\working.gdb\PADDDpoly&lt;BR /&gt;Output Dataset C:\BusinessSchoolBiodiversityFinance\working.gdb\SDCpadd&lt;BR /&gt;Join Operation JOIN_ONE_TO_MANY&lt;BR /&gt;Spatial Relationship NEAR_GEODESIC&lt;BR /&gt;Spatial Near Distance 999999 Kilometers&lt;BR /&gt;Temporal Relationship&lt;BR /&gt;Temporal Near Distance&lt;BR /&gt;Attribute Relationship&lt;BR /&gt;Summary Fields&lt;BR /&gt;Join Condition $join["YearPADDD"]&amp;lt;=$target["AnnouncementYear"]&lt;BR /&gt;Keep All Target Features&lt;BR /&gt;Include Distance true&lt;BR /&gt;Distance Unit METERS&lt;BR /&gt;=====================&lt;BR /&gt;Messages&lt;/P&gt;&lt;P&gt;Start Time: Thursday, June 20, 2024 4:45:10 PM&lt;BR /&gt;Started Spark Job 1 with 16 tasks.&lt;BR /&gt;Spark Job 1 completed in 6.3 seconds.&lt;BR /&gt;Started Spark Job 2 with 16 tasks.&lt;BR /&gt;Spark Job 2 completed in 0.3 seconds.&lt;BR /&gt;ERROR 001409: Failed to write to the output location.&lt;BR /&gt;Failed script Join Features...&lt;BR /&gt;Failed to execute (JoinFeatures).&lt;BR /&gt;Failed at Thursday, June 20, 2024 4:45:21 PM (Elapsed Time: 10.79 seconds)&lt;/P&gt;&lt;/BLOCKQUOTE&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;</description>
    <pubDate>Thu, 20 Jun 2024 15:46:52 GMT</pubDate>
    <dc:creator>KatieSelfEd</dc:creator>
    <dc:date>2024-06-20T15:46:52Z</dc:date>
    <item>
      <title>Geoanalytics Spatial Join Error</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/geoanalytics-spatial-join-error/m-p/1495396#M84796</link>
      <description>&lt;P&gt;I want do a spatial join with an if condition, so I'm attempting to use the Geoanalytics Desktop Tool version of a Spatial Join. I've got the input files stored locally and set the output path to be the same geodatabase. The geodatabase stored locally with a short filepath and no special characters in the path such as spaces.&lt;/P&gt;&lt;P&gt;Additionally ArcPro is &lt;STRONG&gt;not&lt;/STRONG&gt; installed C:\Program Files (x86) (as I've seen this can be an issue) and have admin rights on the machine I'm using.&lt;/P&gt;&lt;P&gt;However each time I try to run the process I get the same error 'Failed to write to the output location'. Not sure if there's something specific with these tools I'm missing but any ideas would be very useful.&lt;/P&gt;&lt;P&gt;Edit note: changing the code snipped just to illustrate the fail that occured even with underscores etc removed&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Join Features&lt;BR /&gt;=====================&lt;BR /&gt;Parameters&lt;/P&gt;&lt;P&gt;Target Layer C:\BusinessSchoolBiodiversityFinance\working.gdb\SDC&lt;BR /&gt;Join Layer C:\BusinessSchoolBiodiversityFinance\working.gdb\PADDDpoly&lt;BR /&gt;Output Dataset C:\BusinessSchoolBiodiversityFinance\working.gdb\SDCpadd&lt;BR /&gt;Join Operation JOIN_ONE_TO_MANY&lt;BR /&gt;Spatial Relationship NEAR_GEODESIC&lt;BR /&gt;Spatial Near Distance 999999 Kilometers&lt;BR /&gt;Temporal Relationship&lt;BR /&gt;Temporal Near Distance&lt;BR /&gt;Attribute Relationship&lt;BR /&gt;Summary Fields&lt;BR /&gt;Join Condition $join["YearPADDD"]&amp;lt;=$target["AnnouncementYear"]&lt;BR /&gt;Keep All Target Features&lt;BR /&gt;Include Distance true&lt;BR /&gt;Distance Unit METERS&lt;BR /&gt;=====================&lt;BR /&gt;Messages&lt;/P&gt;&lt;P&gt;Start Time: Thursday, June 20, 2024 4:45:10 PM&lt;BR /&gt;Started Spark Job 1 with 16 tasks.&lt;BR /&gt;Spark Job 1 completed in 6.3 seconds.&lt;BR /&gt;Started Spark Job 2 with 16 tasks.&lt;BR /&gt;Spark Job 2 completed in 0.3 seconds.&lt;BR /&gt;ERROR 001409: Failed to write to the output location.&lt;BR /&gt;Failed script Join Features...&lt;BR /&gt;Failed to execute (JoinFeatures).&lt;BR /&gt;Failed at Thursday, June 20, 2024 4:45:21 PM (Elapsed Time: 10.79 seconds)&lt;/P&gt;&lt;/BLOCKQUOTE&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;</description>
      <pubDate>Thu, 20 Jun 2024 15:46:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/geoanalytics-spatial-join-error/m-p/1495396#M84796</guid>
      <dc:creator>KatieSelfEd</dc:creator>
      <dc:date>2024-06-20T15:46:52Z</dc:date>
    </item>
  </channel>
</rss>

