<?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 Changing paths in mosaic dataset using MDTools in Imagery and Remote Sensing Questions</title>
    <link>https://community.esri.com/t5/imagery-and-remote-sensing-questions/changing-paths-in-mosaic-dataset-using-mdtools/m-p/1372852#M70</link>
    <description>&lt;P&gt;I have several mosaic datasets with imagery that is stored in AWS S3. Previously, we had all of our imagery in one location within the bucket (ex: '/vsis3/orthoimagery').&amp;nbsp; I have reorganized the imagery within the bucket such that each year of imagery is within its own "folder" (ex: '/vsis3/orthoimagery/2020', '/vsis3/orthoimagery/2021', etc.). The embedded paths were originally created using &lt;A href="https://github.com/Esri/OptimizeRasters" target="_self"&gt;OptimizeRasters&lt;/A&gt;. I am attempting to update the paths in the mosaic datasets using the &lt;A href="https://github.com/Esri/mdcs-py" target="_self"&gt;MDTools&lt;/A&gt; 'replace' function. I have tried multiple variations for the parameter '--oldpath' but it does not successfully update the records. The syntax that I am currently using is:&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;mdtools.exe --MD="Z:\sde_connection\orthos_2022_4band_deflate" --replace_paths --oldpath="/vsis3/orthoimagery-program/tiles/2022/cogs/deflate" --newpath="/vsis3/orthoimagery-program/tiles/2022/cogs/4-band-deflate"&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bspivey_0-1705928141435.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/92364i4F3F903F7D02B78B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bspivey_0-1705928141435.png" alt="bspivey_0-1705928141435.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;I greatly appreciate anyone who can provide some insight as to why this is not working (rebuilding these will not be fun!).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/243352"&gt;@GuenterDoerffel&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2872"&gt;@AbhijitDoshi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jan 2024 12:55:57 GMT</pubDate>
    <dc:creator>bspivey</dc:creator>
    <dc:date>2024-01-22T12:55:57Z</dc:date>
    <item>
      <title>Changing paths in mosaic dataset using MDTools</title>
      <link>https://community.esri.com/t5/imagery-and-remote-sensing-questions/changing-paths-in-mosaic-dataset-using-mdtools/m-p/1372852#M70</link>
      <description>&lt;P&gt;I have several mosaic datasets with imagery that is stored in AWS S3. Previously, we had all of our imagery in one location within the bucket (ex: '/vsis3/orthoimagery').&amp;nbsp; I have reorganized the imagery within the bucket such that each year of imagery is within its own "folder" (ex: '/vsis3/orthoimagery/2020', '/vsis3/orthoimagery/2021', etc.). The embedded paths were originally created using &lt;A href="https://github.com/Esri/OptimizeRasters" target="_self"&gt;OptimizeRasters&lt;/A&gt;. I am attempting to update the paths in the mosaic datasets using the &lt;A href="https://github.com/Esri/mdcs-py" target="_self"&gt;MDTools&lt;/A&gt; 'replace' function. I have tried multiple variations for the parameter '--oldpath' but it does not successfully update the records. The syntax that I am currently using is:&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;mdtools.exe --MD="Z:\sde_connection\orthos_2022_4band_deflate" --replace_paths --oldpath="/vsis3/orthoimagery-program/tiles/2022/cogs/deflate" --newpath="/vsis3/orthoimagery-program/tiles/2022/cogs/4-band-deflate"&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bspivey_0-1705928141435.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/92364i4F3F903F7D02B78B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bspivey_0-1705928141435.png" alt="bspivey_0-1705928141435.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;I greatly appreciate anyone who can provide some insight as to why this is not working (rebuilding these will not be fun!).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/243352"&gt;@GuenterDoerffel&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2872"&gt;@AbhijitDoshi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 12:55:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/imagery-and-remote-sensing-questions/changing-paths-in-mosaic-dataset-using-mdtools/m-p/1372852#M70</guid>
      <dc:creator>bspivey</dc:creator>
      <dc:date>2024-01-22T12:55:57Z</dc:date>
    </item>
  </channel>
</rss>

