<?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 Overwrite Image Service With ArcGIS API For Python in ArcGIS Image Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-image-server-questions/overwrite-image-service-with-arcgis-api-for-python/m-p/1619813#M1758</link>
    <description>&lt;P&gt;I have an image service in 11.4 that I update twice a week. The source is a mosaic dataset in a registered geodatabase. I'm hoping to automate the publishing side of it, but can't seem to get anything to work using the ArcGIS API For Python.&lt;/P&gt;&lt;P&gt;I found this article from 1 year ago which mentions you can't publish image services using ArcPy any more (&lt;A href="https://support.esri.com/en-us/knowledge-base/problem-using-arcpy-to-publish-image-services-is-no-lon-000025490" target="_blank"&gt;https://support.esri.com/en-us/knowledge-base/problem-using-arcpy-to-publish-image-services-is-no-lon-000025490&lt;/A&gt;), but there's no mention of the ArcGIS API For Python. When I look at that documentation, it appears there are ways to delete and add rasters. When I follow the sample notebook (see image below) to do so I get an error "AttributeError: 'NoneType' object has no attribute 'delete_image'". Is this because my ImageService is not referencing a group of images (i.e. image_collection), but a single mosaic dataset?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cja_1-1748645641878.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133555i1F3BB4D716CDEAE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cja_1-1748645641878.png" alt="cja_1-1748645641878.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 30 May 2025 22:54:35 GMT</pubDate>
    <dc:creator>cja</dc:creator>
    <dc:date>2025-05-30T22:54:35Z</dc:date>
    <item>
      <title>Overwrite Image Service With ArcGIS API For Python</title>
      <link>https://community.esri.com/t5/arcgis-image-server-questions/overwrite-image-service-with-arcgis-api-for-python/m-p/1619813#M1758</link>
      <description>&lt;P&gt;I have an image service in 11.4 that I update twice a week. The source is a mosaic dataset in a registered geodatabase. I'm hoping to automate the publishing side of it, but can't seem to get anything to work using the ArcGIS API For Python.&lt;/P&gt;&lt;P&gt;I found this article from 1 year ago which mentions you can't publish image services using ArcPy any more (&lt;A href="https://support.esri.com/en-us/knowledge-base/problem-using-arcpy-to-publish-image-services-is-no-lon-000025490" target="_blank"&gt;https://support.esri.com/en-us/knowledge-base/problem-using-arcpy-to-publish-image-services-is-no-lon-000025490&lt;/A&gt;), but there's no mention of the ArcGIS API For Python. When I look at that documentation, it appears there are ways to delete and add rasters. When I follow the sample notebook (see image below) to do so I get an error "AttributeError: 'NoneType' object has no attribute 'delete_image'". Is this because my ImageService is not referencing a group of images (i.e. image_collection), but a single mosaic dataset?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cja_1-1748645641878.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/133555i1F3BB4D716CDEAE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cja_1-1748645641878.png" alt="cja_1-1748645641878.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 22:54:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-server-questions/overwrite-image-service-with-arcgis-api-for-python/m-p/1619813#M1758</guid>
      <dc:creator>cja</dc:creator>
      <dc:date>2025-05-30T22:54:35Z</dc:date>
    </item>
  </channel>
</rss>

