<?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: In script, Point to Raster generates Error 999999 : Failed to build pyramid in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/in-script-point-to-raster-generates-error-999999/m-p/100741#M7846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Douglas -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suspect a path name issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's in the variable tmpGrid? What is the current and scratch workspace set to?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(See [thread=48475]How to post Python code[/thread])&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Mar 2013 01:32:58 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2013-03-29T01:32:58Z</dc:date>
    <item>
      <title>In script, Point to Raster generates Error 999999 : Failed to build pyramid</title>
      <link>https://community.esri.com/t5/python-questions/in-script-point-to-raster-generates-error-999999/m-p/100740#M7845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a script that for various reasons is converting point data into polygons by going through raster format first. However, the script is failing with the message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 580, in execute&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\conversion.py", line 2393, in PointToRaster&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise e&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ExecuteError: ERROR 999999: Error executing function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to build pyramid&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (PointToRaster).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code looks like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage("\nCreating raster.")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.MakeFeatureLayer_management(tmp_point, "points")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.PointToRaster_conversion("points", "ID_FIELD", tmp_grid, "MOST_FREQUENT", cellsize=Resolution)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage(" - Finished creating raster.")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Delete_management("points")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure what is causing the issue, if it is related to the script or if this should be in the Imagery and Rasters section.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 20:56:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/in-script-point-to-raster-generates-error-999999/m-p/100740#M7845</guid>
      <dc:creator>DouglasSands</dc:creator>
      <dc:date>2013-03-28T20:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: In script, Point to Raster generates Error 999999 : Failed to build pyramid</title>
      <link>https://community.esri.com/t5/python-questions/in-script-point-to-raster-generates-error-999999/m-p/100741#M7846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Douglas -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suspect a path name issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's in the variable tmpGrid? What is the current and scratch workspace set to?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(See [thread=48475]How to post Python code[/thread])&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 01:32:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/in-script-point-to-raster-generates-error-999999/m-p/100741#M7846</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2013-03-29T01:32:58Z</dc:date>
    </item>
  </channel>
</rss>

