Select to view content in your preferred language

arcpy.mapping.CreateMapSDDraft in ArcGIS Pro

3439
2
09-14-2016 03:12 PM
ChetEgbert1
Emerging Contributor

What is the equivalent of arcpy.mapping.CreateMapSDDraft in arcpy.mp when I need to automate the publishing of a raster dataset or large vector dataset as a Map Image to ArcGIS For Portal?  Looks like this is missing from arcpy.mp and I can only publish Feature or Tile with arcpy.mp.CreateWebLayerSDDraft.

0 Kudos
2 Replies
DanPatterson_Retired
MVP Emeritus

CreateWebLayerSDDraft—ArcPy | ArcGIS for Desktop  in Pro...

Converts a map, layer, or list of layers in an ArcGIS Project to a Service Definition Draft (.sddraft) file

CreateMapSDDraft—Help | ArcGIS for Desktop  ArcMap

Converts Map Document (.mxd) files to Service Definition Draft (.sddraft) files.

Sounds like the functionality is similar in terms of output, but Pro seems to be offering different options, which may reflect its movement/dependence(?) on arcgis online.

DanPatterson_Retired
MVP Emeritus

people should also have a read through this... it is not a 1:1 mapping of functionality, it is different

Migrating from arcpy.mapping to ArcGIS Pro—ArcPy | ArcGIS for Desktop