Context: publish a referenced raster dataset from a cloud blob storage container.
We attempted to use the copy_raster function, but the published service is always hosted.
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)
We did attempt to use create_image_collection, but it is extremely slow and also created hosted service only.
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.