<?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: How can we mosaic multiple raster images from separate folders? in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/how-can-we-mosaic-multiple-raster-images-from/m-p/642630#M36317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But we had already checked the sub-folder option while adding rasters to the mosaic dataset. Just for your convenience the folder structure that we have right now is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Main Folder 1&lt;UL&gt;&lt;LI&gt;Sub-folder 1&lt;UL&gt;&lt;LI&gt;Raster&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Sub-folder 2&lt;UL&gt;&lt;LI&gt;Raster&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;.....&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Main Folder 2&lt;UL&gt;&lt;LI&gt;Sub-folder 1&lt;UL&gt;&lt;LI&gt;Raster&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Sub-folder 2&lt;UL&gt;&lt;LI&gt;Raster&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;......&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Like this we have four main folders and approximately 50-60 sub-folders within each main folder and every sub-folder has one raster each. So how do we iterate between these folders?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jun 2017 05:39:37 GMT</pubDate>
    <dc:creator>NilakshiChatterji</dc:creator>
    <dc:date>2017-06-05T05:39:37Z</dc:date>
    <item>
      <title>How can we mosaic multiple raster images from separate folders?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-can-we-mosaic-multiple-raster-images-from/m-p/642628#M36315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 380 DEMs. All the rasters are in .tif format. I am trying to mosaic them together. But the issue is that every raster image is in a separate folder. There are 380 folders for the 380 different rasters. I have tried creating a file geodatabase, adding a raster catalog and then adding the DEMs to the catalog. But it did not work.&lt;/P&gt;&lt;P&gt;I have also tried creating an empty mosaic dataset and adding rasters to it.&lt;/P&gt;&lt;P&gt;The issue basically is that every raster is in a separate folder and mosaicking them individually is not a feasible option.&lt;/P&gt;&lt;P&gt;Kindly suggest a solution!&lt;/P&gt;&lt;P&gt;dem mosaic‌&amp;nbsp;raster mosaic dataset&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 11:39:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-can-we-mosaic-multiple-raster-images-from/m-p/642628#M36315</guid>
      <dc:creator>NilakshiChatterji</dc:creator>
      <dc:date>2017-06-01T11:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can we mosaic multiple raster images from separate folders?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-can-we-mosaic-multiple-raster-images-from/m-p/642629#M36316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://gis.stackexchange.com/questions/80238/how-to-use-modelbuilder-to-add-many-images-to-mosaic-dataset" title="https://gis.stackexchange.com/questions/80238/how-to-use-modelbuilder-to-add-many-images-to-mosaic-dataset"&gt;arcgis desktop - How to use ModelBuilder to add many images to mosaic dataset? - Geographic Information Systems Stack Ex…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/raster-and-images/creating-a-mosaic-dataset.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/raster-and-images/creating-a-mosaic-dataset.htm"&gt;Creating a mosaic dataset—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;UL class="" style="color: #4d4d4d; background-color: #fefefe; font-size: 0.875em; margin-bottom: 1.5em;"&gt;&lt;LI style="font-size: 0.875rem; padding-left: 1em;"&gt;The &lt;SPAN class="" style="font-weight: bold;"&gt;Include Sub Folders&lt;/SPAN&gt; check box should be checked. This option will recursively explore any subfolders containing the data being added.&lt;/LI&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2017 13:49:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-can-we-mosaic-multiple-raster-images-from/m-p/642629#M36316</guid>
      <dc:creator>Asrujit_SenGupta</dc:creator>
      <dc:date>2017-06-02T13:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can we mosaic multiple raster images from separate folders?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-can-we-mosaic-multiple-raster-images-from/m-p/642630#M36317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But we had already checked the sub-folder option while adding rasters to the mosaic dataset. Just for your convenience the folder structure that we have right now is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Main Folder 1&lt;UL&gt;&lt;LI&gt;Sub-folder 1&lt;UL&gt;&lt;LI&gt;Raster&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Sub-folder 2&lt;UL&gt;&lt;LI&gt;Raster&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;.....&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Main Folder 2&lt;UL&gt;&lt;LI&gt;Sub-folder 1&lt;UL&gt;&lt;LI&gt;Raster&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Sub-folder 2&lt;UL&gt;&lt;LI&gt;Raster&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;......&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Like this we have four main folders and approximately 50-60 sub-folders within each main folder and every sub-folder has one raster each. So how do we iterate between these folders?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 05:39:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-can-we-mosaic-multiple-raster-images-from/m-p/642630#M36317</guid>
      <dc:creator>NilakshiChatterji</dc:creator>
      <dc:date>2017-06-05T05:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can we mosaic multiple raster images from separate folders?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-can-we-mosaic-multiple-raster-images-from/m-p/642631#M36318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried &lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/raster-and-images/adding-raster-data-to-a-mosaic-dataset.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/manage-data/raster-and-images/adding-raster-data-to-a-mosaic-dataset.htm"&gt;Adding raster data to a mosaic dataset—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; with the "Workspace" option?&lt;/P&gt;&lt;P&gt;I tried it three different ways (with 3-main, 2ith 2 subfolders unders each, with on raster.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;adding all the sub-folder x (i,.e 6 folders),&lt;/LI&gt;&lt;LI&gt;adding all the Main folders (i.e. 3)&lt;/LI&gt;&lt;LI&gt;adding a top folder with the structure you have.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;All three of these had the same result, so I think if all your "Main Folder X" folders are in a separate "top folder" you should be able to run this command once.&amp;nbsp; I've done a similar process with about 56k raster,&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/355595_pastedImage_3.png" style="width: 487px; height: 372px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copy of the python snippet.......most are the default options....I only entered the info in the above window.&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;AddRastersToMosaicDataset_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;in_mosaic_dataset&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"C:/__temp/_test.gdb/test3"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; raster_type&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Raster Dataset"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; input_path&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"C:\__teemp"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; update_cellsize_ranges&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"UPDATE_CELL_SIZES"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; update_boundary&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"UPDATE_BOUNDARY"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; update_overviews&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"NO_OVERVIEWS"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; maximum_pyramid_levels&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; maximum_cell_size&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"0"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; minimum_dimension&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"1500"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; spatial_reference&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; filter&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;"&lt;SPAN class="comment token"&gt;#", sub_folder="SUBFOLDERS", duplicate_items_action="ALLOW_DUPLICATES", build_pyramids="NO_PYRAMIDS", calculate_statistics="NO_STATISTICS", build_thumbnails="NO_THUMBNAILS", operation_description="#", force_spatial_reference="NO_FORCE_SPATIAL_REFERENCE")&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 15:25:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-can-we-mosaic-multiple-raster-images-from/m-p/642631#M36318</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2017-06-05T15:25:50Z</dc:date>
    </item>
  </channel>
</rss>

