<?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: Mosaic Dataset Attributes in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/mosaic-dataset-attributes/m-p/1556547#M89904</link>
    <description>&lt;P&gt;[Reposted.&amp;nbsp; Original post 07-26-2024 06:16pm]&lt;/P&gt;
&lt;P&gt;I've had issues trying to automate adding attributes to Mosaic Datasets at the Add Rasters stage as well.&lt;/P&gt;
&lt;P&gt;I could not find a way to do it in the same operation, but using arcpy.management.AddFields() and&amp;nbsp;arcpy.management.CalculateFields() processes after the rasters have been added I can populate the attributes.&amp;nbsp; The recommendation is to use an UpdateCursor instead of the CalculateFields, but I could not get that to consistently work, I think it is the old Catalog Refresh issue rearing it's head again.&lt;/P&gt;
&lt;P&gt;That help link is from 10.1, and while the process is pretty similar in Pro, I would not rely too heavily on old documentation.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Nov 2024 21:22:34 GMT</pubDate>
    <dc:creator>GregHollard</dc:creator>
    <dc:date>2024-11-07T21:22:34Z</dc:date>
    <item>
      <title>Mosaic Dataset Attributes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/mosaic-dataset-attributes/m-p/1477769#M83666</link>
      <description>&lt;P&gt;I have several raster datasets with different acquisition dates and sensor types that I would like to add to a single mosaic dataset. I have read that mosaic datasets can be used to sort and view rasters by attributes like acquisition date, sensor, etc. I don't know the best way to add and update attributes to a mosaic dataset, however.&lt;/P&gt;&lt;P&gt;From the help [&lt;A href="https://resources.arcgis.com/en/help/main/10.1/index.html#//009t0000023z000000" target="_self"&gt;https://resources.arcgis.com/en/help/main/10.1/index.html#//009t0000023z000000&lt;/A&gt;] I can see that we can manually add custom attributes. I added a date field field to the table but I don't see a way to populate this field when I add rasters to he mosaic.&lt;/P&gt;&lt;P&gt;Is there a way to set the date field at the same time as adding the raster? Or would I have to manually edit the table to accomplish this? Ideally, I would to add several more custom attributes. Is there any easier way to automate this for hundreds of images?&lt;/P&gt;&lt;P&gt;Thanks again for any help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 16:11:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/mosaic-dataset-attributes/m-p/1477769#M83666</guid>
      <dc:creator>RCTX</dc:creator>
      <dc:date>2024-05-23T16:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Mosaic Dataset Attributes</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/mosaic-dataset-attributes/m-p/1556547#M89904</link>
      <description>&lt;P&gt;[Reposted.&amp;nbsp; Original post 07-26-2024 06:16pm]&lt;/P&gt;
&lt;P&gt;I've had issues trying to automate adding attributes to Mosaic Datasets at the Add Rasters stage as well.&lt;/P&gt;
&lt;P&gt;I could not find a way to do it in the same operation, but using arcpy.management.AddFields() and&amp;nbsp;arcpy.management.CalculateFields() processes after the rasters have been added I can populate the attributes.&amp;nbsp; The recommendation is to use an UpdateCursor instead of the CalculateFields, but I could not get that to consistently work, I think it is the old Catalog Refresh issue rearing it's head again.&lt;/P&gt;
&lt;P&gt;That help link is from 10.1, and while the process is pretty similar in Pro, I would not rely too heavily on old documentation.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 21:22:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/mosaic-dataset-attributes/m-p/1556547#M89904</guid>
      <dc:creator>GregHollard</dc:creator>
      <dc:date>2024-11-07T21:22:34Z</dc:date>
    </item>
  </channel>
</rss>

