<?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 100014 Summarize Within failed in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1265801#M26751</link>
    <description>&lt;P&gt;perhaps&amp;nbsp;&amp;nbsp;&lt;A href="https://support.esri.com/en/technical-article/000027089" target="_blank"&gt;Error: 100014: Summarize within failed (esri.com)&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Mar 2023 22:45:12 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2023-03-08T22:45:12Z</dc:date>
    <item>
      <title>ERROR 100014 Summarize Within failed</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1265619#M26750</link>
      <description>&lt;P&gt;I have a Python script that goes through several steps including using&amp;nbsp;arcpy.analysis.SummarizeWithin(). When I run the script in the Python window of ArcGIS Pro it works just fine. When I run the script in an IDE like Spyder or Visual Studio Code sometimes I get the ERROR 100014 code; and sometimes it works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am completely baffled why sometimes it works sometimes and not others. All of the datasets are the same each time.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 18:12:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1265619#M26750</guid>
      <dc:creator>MarkBinder</dc:creator>
      <dc:date>2023-03-08T18:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 100014 Summarize Within failed</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1265801#M26751</link>
      <description>&lt;P&gt;perhaps&amp;nbsp;&amp;nbsp;&lt;A href="https://support.esri.com/en/technical-article/000027089" target="_blank"&gt;Error: 100014: Summarize within failed (esri.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 22:45:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1265801#M26751</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-03-08T22:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 100014 Summarize Within failed</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1265808#M26752</link>
      <description>That doesn’t work.&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Mar 2023 23:06:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1265808#M26752</guid>
      <dc:creator>MarkBinder</dc:creator>
      <dc:date>2023-03-08T23:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 100014 Summarize Within failed</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1265812#M26753</link>
      <description>&lt;P&gt;That is the only reference on the Tech Support to that error message, so perhaps you need to contact Tech Support.&amp;nbsp; They may have other references that aren't publically reported since they are still under investigation.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 23:19:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1265812#M26753</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-03-08T23:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 100014 Summarize Within failed</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1270532#M26778</link>
      <description>&lt;P&gt;Did you ever find a workaround for this? Experiencing the same thing: Summarize within run fine in Pro python window; but fails when run in jupyter notebook (clone of pro env) or vscode (same clone of env). Same non-descriptive&amp;nbsp;&lt;SPAN&gt;ERROR 100014 code that has been mentioned in countless other support threads.&amp;nbsp;&lt;/SPAN&gt;This is asinine that this tool has so many caveats that have not been addressed in releases of Pro.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 17:52:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1270532#M26778</guid>
      <dc:creator>PatSmyth</dc:creator>
      <dc:date>2023-03-22T17:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 100014 Summarize Within failed</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1270540#M26779</link>
      <description>&lt;P&gt;Unfortunately, I have not. The really weird part is that some days it works and some days it doesn't. I've spent hours trying to get it to work one day and the next day it runs with no problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wish I had better news.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 18:10:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1270540#M26779</guid>
      <dc:creator>MarkBinder</dc:creator>
      <dc:date>2023-03-22T18:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 100014 Summarize Within failed</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1272584#M26784</link>
      <description>&lt;P&gt;I'm also getting this error, but only when I add a Summary Field to the tool. When I don't add the field, the tool runs fine.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 17:04:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1272584#M26784</guid>
      <dc:creator>KatMcDonald-Miranda</dc:creator>
      <dc:date>2023-03-28T17:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 100014 Summarize Within failed</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1309246#M26931</link>
      <description>&lt;P&gt;I seem to have stumbled upon something that I haven't seen addressed in any of my searches online but may help here. Because the "Summary Field" is basically the reason for using this tool, I reluctantly tried&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/579564"&gt;@KatMcDonald-Miranda&lt;/a&gt;'s solution above, but it threw me a new error&amp;nbsp; (100019) for the "Add shape summary attributes" checkbox. Although this function is supposedly optional (&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/summarize-within.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/summarize-within.htm&lt;/A&gt;), when I checked the box for it and re-added the summary field I had removed, the tool finally ran successfully. Again, the irony is that the documentation says both "Summary Field" &lt;EM&gt;and&lt;/EM&gt; "Add shape summary attributes" are optional parameters, but Error 100019 says otherwise and requires that at least one of these "optional" options be utilized (see screenshot below). Going back to the original problem, it seems that Error 100014 has nothing to do with the real reason the tool fails (as we can see in this thread where the path and/or file name length workaround/solution did nothing to fix the problem), rather the "Add shape summary statistics" box must be checked for the tool to run successfully.&lt;/P&gt;&lt;P&gt;Not sure if this is a version issue, but I am running Pro 3.1.1 and never encountered this problem when using the "Summarize Within" tool in earlier versions of Pro.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tschulzke_2-1689706663564.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/75666i1CFCC214D865F49E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tschulzke_2-1689706663564.png" alt="tschulzke_2-1689706663564.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 19:09:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1309246#M26931</guid>
      <dc:creator>tschulzke</dc:creator>
      <dc:date>2023-07-18T19:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 100014 Summarize Within failed</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1317299#M26950</link>
      <description>&lt;P&gt;cant make it work with script&amp;nbsp; it run fine in pro 3.1.1&lt;/P&gt;&lt;P&gt;but failed when run with pyton script.&amp;nbsp;&lt;BR /&gt;after successful run in pro i copyd the python command&amp;nbsp; and try to run it with the script&amp;nbsp; &amp;nbsp;still get the ERROR 100014&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 10:51:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1317299#M26950</guid>
      <dc:creator>OrrGvili</dc:creator>
      <dc:date>2023-08-10T10:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 100014 Summarize Within failed</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1320414#M26955</link>
      <description>&lt;P&gt;I was getting this error, but the solution was to define the projections on my input Feature Classes.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Aug 2023 17:38:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1320414#M26955</guid>
      <dc:creator>SageGrouse</dc:creator>
      <dc:date>2023-08-19T17:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 100014 Summarize Within failed</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1326090#M26966</link>
      <description>&lt;P&gt;I'm in the same situation. It works in ArcGIS Pro Geoprocessing but analysis.SummarizeWithin in arcpy no longer works at all. Tried defining the projection, with or without the summary table, in memory and on disk, result is always ERROR 100014: Summarize Within failed. I'm on 3.1.3 worked fine prior to updating&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 19:05:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1326090#M26966</guid>
      <dc:creator>RyanColeman</dc:creator>
      <dc:date>2023-09-06T19:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 100014 Summarize Within failed</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1336928#M26996</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Hey, Mark.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;I was facing the same issue.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Now I think I´ve found the solution, so follows my suggestion.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;This is the example they´ve provided in the documentation:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt; arcpy.analysis.SummarizeWithin('neighborhoods', 'crimes', 'neighborhood_crimes')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;The 3 parameteres (in_polygons,&amp;nbsp;in_sum_features&amp;nbsp;and out_feature_class), must be all feature &lt;STRONG&gt;names &lt;/STRONG&gt;(&lt;U&gt;not paths)&lt;/U&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;The function will look for the parent folder path in the workspace env variable, so the documentation says you must declare it first, as:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt; arcpy.env.workspace = r'path\to\your\workspace' &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;What the documentation never tells you is that the &lt;STRONG&gt;out_feature_class &lt;/STRONG&gt;won´t be saved in the workspace. The function generates the output in the&lt;STRONG&gt;&lt;STRONG&gt; project´s gdb, &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;NOT in your workspace.&lt;/U&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Look again the output that ArcPRO generated. It is not in the same workspace you are using (you may not realize that if you are not using your own gdb).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;So, if you set the environment variable to the scratch-workspace the function will be able to join it to the &lt;STRONG&gt;out_featur_class &lt;/STRONG&gt;name.&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Since I want the output to be generated along with the other input features (in the same workspace), I just set the scratch-workspace path the same as the workspace path:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;arcpy.env.scratchWorkspace = arcpy.env.workspace &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;ArcPRO aways works because it must declare those env variables internally. But if you export the python command from the history tab it won´t provide you the env variables. That´s just not fair with us, poor mortals.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;Hope it works for you too.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 Oct 2023 14:40:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1336928#M26996</guid>
      <dc:creator>josethomazini_imagem</dc:creator>
      <dc:date>2023-10-11T14:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 100014 Summarize Within failed</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1358706#M27077</link>
      <description>&lt;P&gt;Quite a late response&amp;nbsp;but ( I see that there is no Solution selected so...) I was running into this issue as well, not with any scripting but just within the Pro client.&lt;/P&gt;&lt;P&gt;For me, running 'Make Feature Layer' on my feature classes I was originally using as input and utilizing those Layers in the tool was the only thing that could get it to work. In the tool Documentation the inputs are defined as Feature Layers, but I was using Feature Classes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe make sure that any scripts are creating Feature Layers that get fed into the Summarize Within tool parameters. Hopefully you aren't experiencing this anymore, but if so I hope this may help.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 19:04:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1358706#M27077</guid>
      <dc:creator>ParkerJohnsonGas</dc:creator>
      <dc:date>2023-12-08T19:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 100014 Summarize Within failed</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1361722#M27092</link>
      <description>&lt;P&gt;This is the only suggestion in this thread that worked for me. I would never have thought of that solution - thank you! I just added the line to change the scratch workspace to my gdb's workspace and the tool ran successfully. It's a bit annoying because it creates a scratch.gdb in that folder, which I did not want, so I set the code to delete it and reset the scratch workspace after running the tool. I hope ESRI can fix this and/or add this info to the documentation because this is a really bizarre requirement.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Dec 2023 13:24:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1361722#M27092</guid>
      <dc:creator>AS_Oxford</dc:creator>
      <dc:date>2023-12-16T13:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 100014 Summarize Within failed</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1361723#M27093</link>
      <description>&lt;P&gt;Thanks for the suggestion but this did not work for me. The only thing that worked was to set the scratch workspace to the actual workspace, as suggested above. After that I could use either layers or feature classes successfully in the code. Maybe your layers were created in the scratch workspace, so that's why this worked for you?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Dec 2023 13:27:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-100014-summarize-within-failed/m-p/1361723#M27093</guid>
      <dc:creator>AS_Oxford</dc:creator>
      <dc:date>2023-12-16T13:27:38Z</dc:date>
    </item>
  </channel>
</rss>

