<?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: Python Topo To Raster: Tiled Processing in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-topo-to-raster-tiled-processing/m-p/234332#M18178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting problem, given that the typical workflow is to create contours from DEMs.&lt;/P&gt;&lt;P&gt;Did you try using the 'Create Tin' tool? And then make the raster from a TIN?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Sep 2016 19:25:28 GMT</pubDate>
    <dc:creator>GeorgeNewbury</dc:creator>
    <dc:date>2016-09-01T19:25:28Z</dc:date>
    <item>
      <title>Python Topo To Raster: Tiled Processing</title>
      <link>https://community.esri.com/t5/python-questions/python-topo-to-raster-tiled-processing/m-p/234327#M18173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for a reasonable workflow to generate DEM's from contours for multiple study areas without having to clip my contours into tiles in order to generate a DEM. I'm looking for suggestions from the community in being able to process large datasets (contours) by processing the study area into usable tiled areas such as the &lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/tools/supplement/tiled-processing-of-large-datasets.htm"&gt;Tiled processing&lt;/A&gt; that ESRI has developed for certain geoprocessing tools:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/218860_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to generate a tiled index on the fly based on the extent of my study area and output cellsize, in order to process my study area in tiles and then stitch the tiles together to generate a single DEM.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Topo to Raster is written in Fortran and doesn't take advantage of multiple processors or cores. Its limited in the amount of memory that is allocated to the single geoprocessing tool, so I'm trying to develop a Python workflow of splitting the study area into small enough areas that can be run simultanously and then stitched back together afterwards.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My current study area is made up of nine local municipalities and from my calculations based on a 10m cellsize each local municipality will have the following amount of cells for each DEM:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Baviaans &lt;STRONG&gt;226 791 600&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Blue Crane Route &lt;STRONG&gt;209 397 384&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Camdeboo &lt;STRONG&gt;250 726 124&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Ikwezi &lt;STRONG&gt;86 625 374&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Kouga &lt;STRONG&gt;50 539 474&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;KouKamma &lt;STRONG&gt;73 776 259&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Makana &lt;STRONG&gt;40 357 026&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Ndlambe &lt;STRONG&gt;40 357 026&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Nelson Mandela Bay &lt;STRONG&gt;34 654 290&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Sunday's River Valley &lt;STRONG&gt;114 374 190&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/218913_StudyAreas.PNG" style="width: 620px; height: 442px;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Nine Local Municipalities&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 09:41:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-topo-to-raster-tiled-processing/m-p/234327#M18173</guid>
      <dc:creator>PeterWilson</dc:creator>
      <dc:date>2016-09-01T09:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Python Topo To Raster: Tiled Processing</title>
      <link>https://community.esri.com/t5/python-questions/python-topo-to-raster-tiled-processing/m-p/234328#M18174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter... and you still have the added limitation of using python 2.7 and ArcMap correct?&lt;/P&gt;&lt;P&gt;suggestions from the help (for others in case they haven't seen it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are insufficient system resources available. The algorithms used in Topo to Raster hold as much information as possible in memory during processing. This allows point, contour, sink, stream, and lake data to be accessed simultaneously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To facilitate processing of large datasets, it is recommended that unnecessary applications be closed before running the tool to free up physical RAM. It is also important to have sufficient amounts of system swap space on disk. The contour or point input may be too dense for the output cell size specified. If one output cell covers several input contours or points, the algorithm may not be able to ascertain a value for that cell. To resolve this, try any of the following:Decrease the cell size, then resample back to the larger cell size after Topo to Raster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rasterize smaller sections of the input data using the Output extent and Margin in cells. Assemble the resulting component rasters with the Mosaic tool. Clip the input data into overlapping sections, and run Topo to Raster separately on each section. Assemble the resulting component rasters with the Mosaic tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/dice.htm"&gt;Use Dice&lt;/A&gt;&amp;nbsp;then try &lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/spatial-analyst/topo-to-raster-by-file.htm"&gt;Topo To Raster by File&lt;/A&gt;&amp;nbsp;since in theory, you should be able to slice and dice, copy and paste the inputs with making minimal changes then run it.&lt;/P&gt;&lt;P&gt;Of course you are still going to be limited by the memory that ArcMap allows&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 10:39:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-topo-to-raster-tiled-processing/m-p/234328#M18174</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-09-01T10:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Python Topo To Raster: Tiled Processing</title>
      <link>https://community.esri.com/t5/python-questions/python-topo-to-raster-tiled-processing/m-p/234329#M18175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the following &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;Is this still true if you are using 64 bit background processing and running the python script as a standalone process?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 12:14:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-topo-to-raster-tiled-processing/m-p/234329#M18175</guid>
      <dc:creator>PeterWilson</dc:creator>
      <dc:date>2016-09-01T12:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Python Topo To Raster: Tiled Processing</title>
      <link>https://community.esri.com/t5/python-questions/python-topo-to-raster-tiled-processing/m-p/234330#M18176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter... I have just never found the need for the background stuff... perhaps it is the leisurely lifestyle I&amp;nbsp;lead... give it shot on a small sample and time it.&amp;nbsp; (Besides there is&amp;nbsp;also the fact that I have anywhere up to 50 computers I can commandeer should the need arise &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;and I haven't used python 2.7 in quite some time).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I will leave that for others to comment on&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 12:23:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-topo-to-raster-tiled-processing/m-p/234330#M18176</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-09-01T12:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Python Topo To Raster: Tiled Processing</title>
      <link>https://community.esri.com/t5/python-questions/python-topo-to-raster-tiled-processing/m-p/234331#M18177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If only I was so lucky &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;, thanks Dan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 12:33:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-topo-to-raster-tiled-processing/m-p/234331#M18177</guid>
      <dc:creator>PeterWilson</dc:creator>
      <dc:date>2016-09-01T12:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Python Topo To Raster: Tiled Processing</title>
      <link>https://community.esri.com/t5/python-questions/python-topo-to-raster-tiled-processing/m-p/234332#M18178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting problem, given that the typical workflow is to create contours from DEMs.&lt;/P&gt;&lt;P&gt;Did you try using the 'Create Tin' tool? And then make the raster from a TIN?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 19:25:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-topo-to-raster-tiled-processing/m-p/234332#M18178</guid>
      <dc:creator>GeorgeNewbury</dc:creator>
      <dc:date>2016-09-01T19:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Python Topo To Raster: Tiled Processing</title>
      <link>https://community.esri.com/t5/python-questions/python-topo-to-raster-tiled-processing/m-p/234333#M18179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The algorithm behind topo to raster does a pretty good job (anudem) of generating the dem when approaches like you propose fail. &amp;nbsp;There is quite extensive literature and testing behind the implementation and it is generally the preferred method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 19:47:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-topo-to-raster-tiled-processing/m-p/234333#M18179</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-09-01T19:47:11Z</dc:date>
    </item>
  </channel>
</rss>

