<?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 Empty outputs from Skyline tool in 3D Questions</title>
    <link>https://community.esri.com/t5/3d-questions/empty-outputs-from-skyline-tool/m-p/1575155#M5332</link>
    <description>&lt;P&gt;I have a python script that loops through a multipart point file and runs the Skyline and Skyline Graph tools for each point object.&lt;/P&gt;&lt;P&gt;However, I get empty skyline (.shp) outputs for some (but &lt;EM&gt;not&lt;/EM&gt; all) points and the corresponding skyline graph tables (.dbf files) are created with identical values for all 360 rows as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HORIZ_ANG, ZENITH_ANG, HOR_AN_GEO, ZEN_AN_INV&lt;/P&gt;&lt;P&gt;297.92434, 90.00196, 182.07566, -0.00196&lt;/P&gt;&lt;P&gt;297.92434, 90.00196, 182.07566, -0.00196&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a simplified overview of how the script works:&lt;/P&gt;&lt;P&gt;Input&lt;/P&gt;&lt;P&gt;- 3D point file with x, y, z, and id fields&lt;/P&gt;&lt;P&gt;- DEM (10 m or 30 m cell size)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Workflow&lt;/P&gt;&lt;P&gt;- Loop through each sample point in input shapefile, and for each point:&lt;/P&gt;&lt;P&gt;- Create a temporary z-enabled feature class (.shp) and insert a 3D point using SHAPE@XYZ from the input point file&lt;/P&gt;&lt;P&gt;- Buffer temporary point (50,000 meters) to define clipping area (needed to clip a national scale DEM to practical size)&lt;/P&gt;&lt;P&gt;- Clip a temporary DEM to buffered area&lt;/P&gt;&lt;P&gt;- Reclassify DEM to contain positive values only (this was a previous cause of problems)&lt;/P&gt;&lt;P&gt;- Debug before running Skyline and Skyline Graphs tools:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Check point file was created, is z-enabled, and has z value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Check DEM was created and has valid values&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Check for matching spatial reference systems&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Check point lies within extent of DEM&lt;/P&gt;&lt;P&gt;- Run the Skyline tool, output .shp file to new folder&lt;/P&gt;&lt;P&gt;- Run the Skyline Graph tool, output .dbf to new folder&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tested various possibilities for why some points fail and others don’t, for example:&lt;/P&gt;&lt;P&gt;- The Z value assigned to the point using SHAPE@XYZ vs. the Z value of the input DEM surface (I found no systematic pattern between successful and failed points)&lt;/P&gt;&lt;P&gt;- Adding a small offset to the point Z value (e.g. 0.1) to test for potential numerical precision and/or floating point issues&lt;/P&gt;&lt;P&gt;- The input surface resolution (I tended to get more ‘fails’ using a 10 m DEM over a 30 m DEM)&lt;/P&gt;&lt;P&gt;- The buffer extent around the point, used to clip a temporary DEM&lt;/P&gt;&lt;P&gt;- The chosen max horizon radius&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not found a clear cause yet. I also tried running the tools manually using the temporary point and DEM files created in the script as input, but with the same outcome.&lt;/P&gt;&lt;P&gt;Does anyone have any ideas why this problem happens?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jan 2025 22:30:32 GMT</pubDate>
    <dc:creator>jben</dc:creator>
    <dc:date>2025-01-13T22:30:32Z</dc:date>
    <item>
      <title>Empty outputs from Skyline tool</title>
      <link>https://community.esri.com/t5/3d-questions/empty-outputs-from-skyline-tool/m-p/1575155#M5332</link>
      <description>&lt;P&gt;I have a python script that loops through a multipart point file and runs the Skyline and Skyline Graph tools for each point object.&lt;/P&gt;&lt;P&gt;However, I get empty skyline (.shp) outputs for some (but &lt;EM&gt;not&lt;/EM&gt; all) points and the corresponding skyline graph tables (.dbf files) are created with identical values for all 360 rows as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HORIZ_ANG, ZENITH_ANG, HOR_AN_GEO, ZEN_AN_INV&lt;/P&gt;&lt;P&gt;297.92434, 90.00196, 182.07566, -0.00196&lt;/P&gt;&lt;P&gt;297.92434, 90.00196, 182.07566, -0.00196&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a simplified overview of how the script works:&lt;/P&gt;&lt;P&gt;Input&lt;/P&gt;&lt;P&gt;- 3D point file with x, y, z, and id fields&lt;/P&gt;&lt;P&gt;- DEM (10 m or 30 m cell size)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Workflow&lt;/P&gt;&lt;P&gt;- Loop through each sample point in input shapefile, and for each point:&lt;/P&gt;&lt;P&gt;- Create a temporary z-enabled feature class (.shp) and insert a 3D point using SHAPE@XYZ from the input point file&lt;/P&gt;&lt;P&gt;- Buffer temporary point (50,000 meters) to define clipping area (needed to clip a national scale DEM to practical size)&lt;/P&gt;&lt;P&gt;- Clip a temporary DEM to buffered area&lt;/P&gt;&lt;P&gt;- Reclassify DEM to contain positive values only (this was a previous cause of problems)&lt;/P&gt;&lt;P&gt;- Debug before running Skyline and Skyline Graphs tools:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Check point file was created, is z-enabled, and has z value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Check DEM was created and has valid values&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Check for matching spatial reference systems&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Check point lies within extent of DEM&lt;/P&gt;&lt;P&gt;- Run the Skyline tool, output .shp file to new folder&lt;/P&gt;&lt;P&gt;- Run the Skyline Graph tool, output .dbf to new folder&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tested various possibilities for why some points fail and others don’t, for example:&lt;/P&gt;&lt;P&gt;- The Z value assigned to the point using SHAPE@XYZ vs. the Z value of the input DEM surface (I found no systematic pattern between successful and failed points)&lt;/P&gt;&lt;P&gt;- Adding a small offset to the point Z value (e.g. 0.1) to test for potential numerical precision and/or floating point issues&lt;/P&gt;&lt;P&gt;- The input surface resolution (I tended to get more ‘fails’ using a 10 m DEM over a 30 m DEM)&lt;/P&gt;&lt;P&gt;- The buffer extent around the point, used to clip a temporary DEM&lt;/P&gt;&lt;P&gt;- The chosen max horizon radius&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not found a clear cause yet. I also tried running the tools manually using the temporary point and DEM files created in the script as input, but with the same outcome.&lt;/P&gt;&lt;P&gt;Does anyone have any ideas why this problem happens?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 22:30:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/empty-outputs-from-skyline-tool/m-p/1575155#M5332</guid>
      <dc:creator>jben</dc:creator>
      <dc:date>2025-01-13T22:30:32Z</dc:date>
    </item>
  </channel>
</rss>

