<?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: Multiple geographic transformations for mosaic dataset via Python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/multiple-geographic-transformations-for-mosaic/m-p/1544131#M72966</link>
    <description>&lt;P&gt;The good news:&lt;BR /&gt;It's not a simple syntax issue, you're code runs fine on a fresh created mosaic dataset.&lt;/P&gt;&lt;P&gt;The bad news:&lt;BR /&gt;This is possibly related to a BUG that we are also affected by. Namely that it is not possible to undo a certain transformation using &lt;SPAN&gt;arcpy.management&lt;/SPAN&gt;.SetMosaicDatasetProperties.&lt;BR /&gt;Can you check which transformations are now already defined for your mosaic dataset?&lt;/P&gt;&lt;P&gt;The only workaround is to manually delete the transformation, that no longer exists in the transformations folder, from the mosaic dataset.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Oct 2024 07:17:59 GMT</pubDate>
    <dc:creator>PieterE</dc:creator>
    <dc:date>2024-10-01T07:17:59Z</dc:date>
    <item>
      <title>Multiple geographic transformations for mosaic dataset via Python</title>
      <link>https://community.esri.com/t5/python-questions/multiple-geographic-transformations-for-mosaic/m-p/1543446#M72953</link>
      <description>&lt;P&gt;Hello. We're unable to apply multiple geographic transformations to a mosaic dataset programmatically. I'm hoping it's a simple syntax issue on our end.&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/set-mosaic-dataset-properties.htm" target="_self"&gt;&lt;SPAN&gt;SetMosaicDatasetProperties&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;indicates that you can apply multiple transformations via list for {&lt;SPAN&gt;geographic_transform} parameter&lt;/SPAN&gt;. I've included code below with the list parameters moved outside the function for clarity. These are all valid transformation members.&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;ERROR 000800: The value is not a member of...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; geographic_transforms_list = [&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"NAD_1927_To_WGS_1984_79_CONUS"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"WGS_1984_(ITRF00)_To_NAD_1983"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"NAD_1983_HARN_To_WGS_1984"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"Old_Hawaiian_To_NAD_1983_HARN_Hawaii"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;# Set the mosaic dataset properties and include map types&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;for&lt;/SPAN&gt;&lt;SPAN&gt; map_type &lt;/SPAN&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;SPAN&gt; map_types:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; order_field = &lt;/SPAN&gt;&lt;SPAN&gt;'NEWEST'&lt;/SPAN&gt; &lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; map_type == &lt;/SPAN&gt;&lt;SPAN&gt;''&lt;/SPAN&gt; &lt;SPAN&gt;else&lt;/SPAN&gt;&lt;SPAN&gt; map_type&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; arcpy.management.SetMosaicDatasetProperties(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; in_mosaic_dataset=mosaic_dataset,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; allowed_mosaic_methods=&lt;/SPAN&gt;&lt;SPAN&gt;"ByAttribute"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; default_mosaic_method=&lt;/SPAN&gt;&lt;SPAN&gt;"ByAttribute"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; order_field=order_field,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sorting_order=&lt;/SPAN&gt;&lt;SPAN&gt;"DESCENDING"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; geographic_transform=geographic_transforms_list &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 27 Sep 2024 15:30:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/multiple-geographic-transformations-for-mosaic/m-p/1543446#M72953</guid>
      <dc:creator>cgarrity_USGS</dc:creator>
      <dc:date>2024-09-27T15:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple geographic transformations for mosaic dataset via Python</title>
      <link>https://community.esri.com/t5/python-questions/multiple-geographic-transformations-for-mosaic/m-p/1544131#M72966</link>
      <description>&lt;P&gt;The good news:&lt;BR /&gt;It's not a simple syntax issue, you're code runs fine on a fresh created mosaic dataset.&lt;/P&gt;&lt;P&gt;The bad news:&lt;BR /&gt;This is possibly related to a BUG that we are also affected by. Namely that it is not possible to undo a certain transformation using &lt;SPAN&gt;arcpy.management&lt;/SPAN&gt;.SetMosaicDatasetProperties.&lt;BR /&gt;Can you check which transformations are now already defined for your mosaic dataset?&lt;/P&gt;&lt;P&gt;The only workaround is to manually delete the transformation, that no longer exists in the transformations folder, from the mosaic dataset.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 07:17:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/multiple-geographic-transformations-for-mosaic/m-p/1544131#M72966</guid>
      <dc:creator>PieterE</dc:creator>
      <dc:date>2024-10-01T07:17:59Z</dc:date>
    </item>
  </channel>
</rss>

