<?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 publish referenced imagery service with copy_raster in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-referenced-imagery-service-with-copy/m-p/1332416#M9048</link>
    <description>&lt;P&gt;Context: publish a referenced raster dataset from a cloud blob storage container.&lt;/P&gt;&lt;P&gt;We attempted to use the copy_raster function, but the published service is &lt;STRONG&gt;always hosted&lt;/STRONG&gt;.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;copy_raster(input_raster="/cloudStores/samplepath/USGS_1_n06e162.tif",
                                 output_name="sample_imagery_service",
                                 raster_type_name="Raster Dataset",
                                 context={"image_collection_properties":
"imageCollectionType":"Satellite"},"byref":True},
                                 gis=gis)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We did attempt to use&amp;nbsp;create_image_collection, but it is extremely slow and also created hosted service only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are able to create referenced service through the GUI method of add imagery, therefore can confirm it is not a problem of our cloud storage container.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Sep 2023 14:24:49 GMT</pubDate>
    <dc:creator>GLIMichael</dc:creator>
    <dc:date>2023-09-26T14:24:49Z</dc:date>
    <item>
      <title>publish referenced imagery service with copy_raster</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-referenced-imagery-service-with-copy/m-p/1332416#M9048</link>
      <description>&lt;P&gt;Context: publish a referenced raster dataset from a cloud blob storage container.&lt;/P&gt;&lt;P&gt;We attempted to use the copy_raster function, but the published service is &lt;STRONG&gt;always hosted&lt;/STRONG&gt;.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;copy_raster(input_raster="/cloudStores/samplepath/USGS_1_n06e162.tif",
                                 output_name="sample_imagery_service",
                                 raster_type_name="Raster Dataset",
                                 context={"image_collection_properties":
"imageCollectionType":"Satellite"},"byref":True},
                                 gis=gis)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We did attempt to use&amp;nbsp;create_image_collection, but it is extremely slow and also created hosted service only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are able to create referenced service through the GUI method of add imagery, therefore can confirm it is not a problem of our cloud storage container.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 14:24:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-referenced-imagery-service-with-copy/m-p/1332416#M9048</guid>
      <dc:creator>GLIMichael</dc:creator>
      <dc:date>2023-09-26T14:24:49Z</dc:date>
    </item>
  </channel>
</rss>

