<?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: Creating smooth DEM with constraints in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/creating-smooth-dem-with-constraints/m-p/325061#M4563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I�??m trying to make a DEM of an old mining site. I have point data in a 10*10 meter grid, some lines representing cliffs, and I also have a lake boundary polygon, representing the flooded area of the cavity. When I try to create the DEM with the create TIN or Topo to raster functions, it appears with peaks in the measured height points place. The only way I managed to produce a smooth surface was with the spline tool, but it does not allow the use of barriers. Is there another way to create a smooth surface with those constraints?&lt;BR /&gt;&lt;BR /&gt;Here�??s a printscreen of the two surfaces (converted to TIN) in the arcscene (left: spline, right: topo to raster with constrains):&lt;BR /&gt;[ATTACH=CONFIG]27850[/ATTACH]&lt;BR /&gt;&lt;BR /&gt;Thank you and apologies for my bad English.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Anton,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What you could do is create a raster that contains you constraints and has NoData where there are none. Let's call this raster &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Constraints". In the example below DEM is the DEM created with constraints, in your image on the right.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could perform the calculation below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;Con ( IsNull ( &lt;SPAN style="font-style:italic;"&gt;Constraints&lt;/SPAN&gt; ) , FocalStatistics ( &lt;SPAN style="font-style:italic;"&gt;DEM&lt;/SPAN&gt; , NbrRectangle(3,3,"CELL") , "Mean" , "DATA" ) , DEM )&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will detect those areas with out constraint and calculate the mean elevation in a 3x3 cell neighborhood. The areas with constraints will maintain their value and will not be affected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some more reading:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//009z000000qs000000"&gt;Focal Statistics (Spatial Analyst)&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//009z000000r7000000"&gt;How Focal Statistics works&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//009z00000008000000"&gt;Conditional evaluation with Con&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//009z000000m8000000"&gt;Is Null (Spatial Analyst) &lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Xander&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Sep 2013 06:48:26 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2013-09-30T06:48:26Z</dc:date>
    <item>
      <title>Creating smooth DEM with constraints</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/creating-smooth-dem-with-constraints/m-p/325060#M4562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I???m trying to make a DEM of an old mining site. I have point data in a 10*10 meter grid, some lines representing cliffs, and I also have a lake boundary polygon, representing the flooded area of the cavity. When I try to create the DEM with the create TIN or Topo to raster functions, it appears with peaks in the measured height points place. The only way I managed to produce a smooth surface was with the spline tool, but it does not allow the use of barriers. Is there another way to create a smooth surface with those constraints?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here???s a printscreen of the two surfaces (converted to TIN) in the arcscene (left: spline, right: topo to raster with constrains):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]27850[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you and apologies for my bad English.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Sep 2013 18:35:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/creating-smooth-dem-with-constraints/m-p/325060#M4562</guid>
      <dc:creator>AntonVim</dc:creator>
      <dc:date>2013-09-28T18:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating smooth DEM with constraints</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/creating-smooth-dem-with-constraints/m-p/325061#M4563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I�??m trying to make a DEM of an old mining site. I have point data in a 10*10 meter grid, some lines representing cliffs, and I also have a lake boundary polygon, representing the flooded area of the cavity. When I try to create the DEM with the create TIN or Topo to raster functions, it appears with peaks in the measured height points place. The only way I managed to produce a smooth surface was with the spline tool, but it does not allow the use of barriers. Is there another way to create a smooth surface with those constraints?&lt;BR /&gt;&lt;BR /&gt;Here�??s a printscreen of the two surfaces (converted to TIN) in the arcscene (left: spline, right: topo to raster with constrains):&lt;BR /&gt;[ATTACH=CONFIG]27850[/ATTACH]&lt;BR /&gt;&lt;BR /&gt;Thank you and apologies for my bad English.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Anton,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What you could do is create a raster that contains you constraints and has NoData where there are none. Let's call this raster &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Constraints". In the example below DEM is the DEM created with constraints, in your image on the right.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could perform the calculation below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;Con ( IsNull ( &lt;SPAN style="font-style:italic;"&gt;Constraints&lt;/SPAN&gt; ) , FocalStatistics ( &lt;SPAN style="font-style:italic;"&gt;DEM&lt;/SPAN&gt; , NbrRectangle(3,3,"CELL") , "Mean" , "DATA" ) , DEM )&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will detect those areas with out constraint and calculate the mean elevation in a 3x3 cell neighborhood. The areas with constraints will maintain their value and will not be affected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some more reading:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//009z000000qs000000"&gt;Focal Statistics (Spatial Analyst)&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//009z000000r7000000"&gt;How Focal Statistics works&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//009z00000008000000"&gt;Conditional evaluation with Con&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//009z000000m8000000"&gt;Is Null (Spatial Analyst) &lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Xander&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 06:48:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/creating-smooth-dem-with-constraints/m-p/325061#M4563</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2013-09-30T06:48:26Z</dc:date>
    </item>
  </channel>
</rss>

