Publishing GIS Services to ArcGIS Server Atma Mani, Susan Tran, Tushar Jadhav
Agenda Introduction Publishing workflow - Configuring services - Service definition files: What are they and how to use them? - Registering data with ArcGIS Server data store Consuming services Automating publishing workflows using Python Publishing GIS Services to ArcGIS Server
Introduction Publishing GIS Services to ArcGIS Server
Sharing GIS content on the web Share geographic information using the web Make geographic data available instantly across multiple devices and platforms Allow simultaneous editing of geographic data irrespective of their physical location Work on projects collaboratively ArcGIS Publishing GIS Services to ArcGIS Server
Map service layers Basemap service layers Operational service layers Reusable background service Provide context for operational layers Operational service layers Interactive Visual representation of GIS data Provide functions that meet a business need Publishing GIS Services to ArcGIS Server
Publishing a Simple Map Service Demo Publishing a Simple Map Service Publishing GIS Services to ArcGIS Server
Publishing Workflow Publishing GIS Services to ArcGIS Server
Service publishing workflow Service deployed and started Publishing process Publish Share as service Configure Properties Analyze Errors No Stage Yes Fix Exit Save an sd draft or discard Publishing GIS Services to ArcGIS Server
Choosing a server Portal ArcGIS Server In Cloud ArcGIS Online Desktop ArcGIS Server On-Premises Portal Publishing GIS Services to ArcGIS Server
Service capabilities Depend on server and licensing Network Analysis Mapping Tiled Mapping Mobile Data Access Feature Access Open Standards Publishing GIS Services to ArcGIS Server
Common service capabilities Mapping Dynamic Server needs to retrieve data Option to cache Tiled Mapping (cached) Pre-rendered tiles at different scales Improved performance Feature Access Serve feature geometry and symbology Allows for editing and querying 1:250,000 1:500,000 1:1,000,000 Publishing GIS Services to ArcGIS Server
Analyzers Help to Three types Provide access to the help and solutions Identify critical errors Create optimized map services Three types Errors Warnings Information Messages Provide access to the help and solutions Publishing GIS Services to ArcGIS Server
Organization* Groups Everyone My Content Sharing items Must be signed into ArcGIS Online or your portal Organization* Groups Everyone My Content Publishing GIS Services to ArcGIS Server
Service Definition File Desktop ArcGIS Online/ ArcGIS Server Service Definition Map Data Service Publish (Optional) Service Configuration Map Publishing GIS Services to ArcGIS Server
Consuming services ArcGIS Server Mobile Apps Web Apps Desktop ArcGIS Online ArcGIS Server Publishing GIS Services to ArcGIS Server
Publishing a Cached Map Service From a Service Definition File Demo Publishing a Cached Map Service From a Service Definition File Publishing GIS Services to ArcGIS Server
Managing Service Data Publishing GIS Services to ArcGIS Server
Data is copied to server when publishing Method 2: Managing Service Data Method 1: Data is copied to server when publishing Method 2: Register your data folders and databases with the server Publishing GIS Services to ArcGIS Server
Data copied automatically Managing Service Data Method 1: Data is copied to server when publishing Publisher’s machine ArcGIS Server Publish References Data References Data Data copied automatically during publishing ArcGIS Server system directory Publishing GIS Services to ArcGIS Server
Register your data folders and databases with the server Managing Service Data Data Store Registration Method 2: Register your data folders and databases with the server Three registration options: Referenced Replaced Managed Database Publishing GIS Services to ArcGIS Server
Publishing a Service with Referenced Data Demo Publishing a Service with Referenced Data Publishing GIS Services to ArcGIS Server
Referenced Publisher and server work with the SAME data When to use: Data Store Registration Publisher and server work with the SAME data When to use: To avoid having a copy of data placed on server Publisher’s machine ArcGIS Server Publish References Data References Data Publishing GIS Services to ArcGIS Server
Registering a Replaced Data Store Demo Registering a Replaced Data Store Publishing GIS Services to ArcGIS Server
synchronizing changes Replaced Data Store Registration Publisher and server work with DIFFERENT data When to use: To maintain a separate copy of the data on server Publisher’s machine ArcGIS Server Publish Geodata service for synchronizing changes References Data References Data OR Data copied manually before publishing Publishing GIS Services to ArcGIS Server
Data copied automatically Managed Database Data Store Registration Service data is managed for you When to use: Publishing a Feature Service or a transaction-enabled Web Feature Service (WFS-T) Must be an enterprise geodatabase Data copied automatically during publishing Managed Enterprise geodatabase ArcGIS Server Publisher’s machine Publish References Data Publishing GIS Services to ArcGIS Server
Referenced Replaced Managed Database Managing Service Data Data Store Registration Referenced Publisher and server work with same data Replaced Publisher and server work with different data Managed Database Publishing service type requires an enterprise GDB Publishing GIS Services to ArcGIS Server
Automating Publishing Using Python Scripts Publishing GIS Services to ArcGIS Server
Arcpy library CreateMapSDDraft() StageService_server() UploadServiceDefinition_server() Open and modify MXD Set up the variables Create and analyze SDDraft, optionally modify XML Configure the service Stage and publish Map Service Stage into a SD file Publish as service Publishing GIS Services to ArcGIS for Server
Publishing using Python Demo Publishing using Python Publishing GIS Services to ArcGIS Server
If you get a consolidation error, check: Tips & Tricks If you get a consolidation error, check: There’s enough space on the publisher/server machine Path names are not too long The appropriate extension is enabled If publishing services that reference enterprise data Ensure you install the appropriate database client libraries on both the client and server machines Be sure the ArcGIS Server account has the appropriate permissions to the database Videos http://video.arcgis.com/series/40/server Publishing GIS Services to ArcGIS Server
Publishing allows you users: Publishing workflow is the same Summary Publishing allows you users: To share and use gis resources via the web Publishing workflow is the same Configure the service` Analyze the service Publish/Stage the service Data store ensures data is accessible to the server Ability to automate the publishing workflow Publishing GIS Services to ArcGIS Server
First Offering ID: 1109 Second Offering ID: 1339 Thank you… Please fill out the session survey: First Offering ID: 1109 Second Offering ID: 1339 Online – www.esri.com/ucsessionsurveys Paper – pick up and put in drop box Publishing GIS Services to ArcGIS Server
Publishing GIS Services to ArcGIS Server