<?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 Script help for automating mosaic dataset map animation using Python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/script-help-for-automating-mosaic-dataset-map/m-p/219964#M16965</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a process to create animations using time enabled mosaic datasets with&amp;nbsp;a date field in ArcMap. Each dataset references 365 rasters (one raster for each day). The datasets and rasters are maintained in the same File Geodatabase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All layer frames are turned "off". For the animation, two of the datasets are used in conjunction with one another to create vectors which overlie a third dataset of local measurements. *Layers are arranged as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data frame 1: Roads&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data frame 2: Mosaic Datasets&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Mosaic Dataset 1: Aspect - layer visibility turned "off"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Mosaic Dataset 2: Slope - symbology changed to "vector field" with direction defined from "Aspect (image)"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Mosaic Dataset 3: Measurement - symbology is a "stretched", "Type: Maximum-minimum" (max value rounded up to nearest 5, min rounded down to nearest 5), and "Labeling" has 10 divisions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data frame 3:&amp;nbsp;Basemap&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to automate this process using python (the requesting and processing of raw data to this point is already automated).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not found a method, yet, of adding Mosaic Datasets to a specific data frame (there are three on the map document) on an existing map document that does not require creating a "Layer". "Layer" creation removes my time field and prevents me from creating the animations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help in writing a script that will:&lt;/P&gt;&lt;P&gt;1. Load the mosaic datasets to Data frame 2&lt;/P&gt;&lt;P&gt;2. Edit the symbology to reflect above descriptions&lt;/P&gt;&lt;P&gt;3. Set legend to Mosaic Dataset 3 image only&lt;/P&gt;&lt;P&gt;4. Enable the time features and set parameters&lt;/P&gt;&lt;P&gt;5. Export animation with specific settings (frame refresh and etc...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've seen the animation scripts and should be able to pull much from them, however the importing and editing of Mosaic Datasets I have&amp;nbsp;had no such luck. All help is appreciated.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Feb 2017 16:28:27 GMT</pubDate>
    <dc:creator>AdamKarczynski</dc:creator>
    <dc:date>2017-02-24T16:28:27Z</dc:date>
    <item>
      <title>Script help for automating mosaic dataset map animation using Python</title>
      <link>https://community.esri.com/t5/python-questions/script-help-for-automating-mosaic-dataset-map/m-p/219964#M16965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a process to create animations using time enabled mosaic datasets with&amp;nbsp;a date field in ArcMap. Each dataset references 365 rasters (one raster for each day). The datasets and rasters are maintained in the same File Geodatabase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All layer frames are turned "off". For the animation, two of the datasets are used in conjunction with one another to create vectors which overlie a third dataset of local measurements. *Layers are arranged as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data frame 1: Roads&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data frame 2: Mosaic Datasets&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Mosaic Dataset 1: Aspect - layer visibility turned "off"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Mosaic Dataset 2: Slope - symbology changed to "vector field" with direction defined from "Aspect (image)"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Mosaic Dataset 3: Measurement - symbology is a "stretched", "Type: Maximum-minimum" (max value rounded up to nearest 5, min rounded down to nearest 5), and "Labeling" has 10 divisions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data frame 3:&amp;nbsp;Basemap&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to automate this process using python (the requesting and processing of raw data to this point is already automated).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not found a method, yet, of adding Mosaic Datasets to a specific data frame (there are three on the map document) on an existing map document that does not require creating a "Layer". "Layer" creation removes my time field and prevents me from creating the animations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help in writing a script that will:&lt;/P&gt;&lt;P&gt;1. Load the mosaic datasets to Data frame 2&lt;/P&gt;&lt;P&gt;2. Edit the symbology to reflect above descriptions&lt;/P&gt;&lt;P&gt;3. Set legend to Mosaic Dataset 3 image only&lt;/P&gt;&lt;P&gt;4. Enable the time features and set parameters&lt;/P&gt;&lt;P&gt;5. Export animation with specific settings (frame refresh and etc...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've seen the animation scripts and should be able to pull much from them, however the importing and editing of Mosaic Datasets I have&amp;nbsp;had no such luck. All help is appreciated.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2017 16:28:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-help-for-automating-mosaic-dataset-map/m-p/219964#M16965</guid>
      <dc:creator>AdamKarczynski</dc:creator>
      <dc:date>2017-02-24T16:28:27Z</dc:date>
    </item>
  </channel>
</rss>

