<?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 copy_data_to_server has no effect on SD file for Terrain Image Service in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/copy-data-to-server-has-no-effect-on-sd-file-for/m-p/1497953#M70927</link>
    <description>&lt;P&gt;&lt;STRONG&gt;My goal:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am trying to upload a Terrain Image Service to my standalone Enterprise ArcGIS Server (10.8.1) using ArcPy (10.8). I created a SD file and then I manually upload the SD file using Server Manager: causing the service to be created successfully.&lt;/P&gt;&lt;P&gt;Now I want to make it so that it references the raster DEM files from the remote drive folder (not working now), instead of copying them into the SD file (worked before).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In ArcGIS Server Manager:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I already added a data store (of folder type) and validated it in Server Manager; I also unchecked the "Allow data to be copied to the site when publishing services".&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In ArcPy script:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;...&lt;/EM&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;arcpy.CreateMosaicDataset_management(GDBPath, Name, SRS, 1, "32_BIT_FLOAT")&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;arcpy.AddRastersToMosaicDataset_management(MosaicDatasetPath, "Raster Dataset", inputFolderPath, build_pyramids=False)&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;...&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;arcpy.&lt;STRONG&gt;CreateImageSDDraft&lt;/STRONG&gt;(MosaicDatasetPath, SDDraftPath, Name, 'ARCGIS_SERVER', conPath, &lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;copy_data_to_server&lt;/STRONG&gt;=&lt;STRONG&gt;False&lt;/STRONG&gt;,&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;folder_name="Basemap", summary=Summary, tags=Tags)&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The created SD file still has DEM files copied inside.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jun 2024 22:53:21 GMT</pubDate>
    <dc:creator>oookokkookookk</dc:creator>
    <dc:date>2024-06-26T22:53:21Z</dc:date>
    <item>
      <title>copy_data_to_server has no effect on SD file for Terrain Image Service</title>
      <link>https://community.esri.com/t5/python-questions/copy-data-to-server-has-no-effect-on-sd-file-for/m-p/1497953#M70927</link>
      <description>&lt;P&gt;&lt;STRONG&gt;My goal:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am trying to upload a Terrain Image Service to my standalone Enterprise ArcGIS Server (10.8.1) using ArcPy (10.8). I created a SD file and then I manually upload the SD file using Server Manager: causing the service to be created successfully.&lt;/P&gt;&lt;P&gt;Now I want to make it so that it references the raster DEM files from the remote drive folder (not working now), instead of copying them into the SD file (worked before).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In ArcGIS Server Manager:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I already added a data store (of folder type) and validated it in Server Manager; I also unchecked the "Allow data to be copied to the site when publishing services".&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In ArcPy script:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;...&lt;/EM&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;arcpy.CreateMosaicDataset_management(GDBPath, Name, SRS, 1, "32_BIT_FLOAT")&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;arcpy.AddRastersToMosaicDataset_management(MosaicDatasetPath, "Raster Dataset", inputFolderPath, build_pyramids=False)&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;...&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;arcpy.&lt;STRONG&gt;CreateImageSDDraft&lt;/STRONG&gt;(MosaicDatasetPath, SDDraftPath, Name, 'ARCGIS_SERVER', conPath, &lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;copy_data_to_server&lt;/STRONG&gt;=&lt;STRONG&gt;False&lt;/STRONG&gt;,&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;folder_name="Basemap", summary=Summary, tags=Tags)&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The created SD file still has DEM files copied inside.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 22:53:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/copy-data-to-server-has-no-effect-on-sd-file-for/m-p/1497953#M70927</guid>
      <dc:creator>oookokkookookk</dc:creator>
      <dc:date>2024-06-26T22:53:21Z</dc:date>
    </item>
  </channel>
</rss>

