Programmatic "share as image service..."

1293
3
Jump to solution
08-04-2020 04:23 PM
DarrenWiens2
MVP Honored Contributor

I'm sure this is ArcGIS Server 101, but what is the programmatic equivalent of right-clicking a mosaic dataset and choosing "Share as Image Service..."? I'm trying to publish multiple image services from mosaic datasets. Should I be looking for a geoprocessing tool, Python API, somewhere else? Any help appreciated!

1 Solution

Accepted Solutions
by Anonymous User
Not applicable

Hi Darren,

You are probably looking for this: CreateImageSDDraft

This creates an .sddraft file, which can then be turned into an .sd file through the Stage Service tool, which can finally be published using the Upload Service Definition tool.

-Calvin

View solution in original post

3 Replies
by Anonymous User
Not applicable

Hi Darren,

You are probably looking for this: CreateImageSDDraft

This creates an .sddraft file, which can then be turned into an .sd file through the Stage Service tool, which can finally be published using the Upload Service Definition tool.

-Calvin

DarrenWiens2
MVP Honored Contributor

Thanks, Calvin, you're exactly right. I followed along with this: Example: Publish an image service from a folder of images—ArcGIS Server | Documentation for ArcGIS E... 

RehanChaudhary
Occasional Contributor

Hi! does this solution also works with Python3? I have a jupyter notebook with python 3 and when i try to use create module from arcpy. i can't see it. if somebody could answer it would be greatful

0 Kudos