Publishing GIS Services to ArcGIS for Server 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Technical Workshop Publishing GIS Services to ArcGIS for Server Atma Mani, Joanne Parkinson, Tushar Jadhav
Agenda Introduction Publishing workflow Consuming services Configuring services Registering data with the server’s data store Consuming services Automating publishing workflows using Python Publishing GIS Services to ArcGIS for Server
Introduction Publishing GIS Services to ArcGIS for Server
Sharing GIS content on the web Share geographic information using the web Make geographic data available instantly across Devices Platforms Work on projects collaboratively ArcGIS Server Publishing GIS Services to ArcGIS for Server
Map service layers Basemap service layers Operational service layers Reusable background service Provide context for operational layers Operational service layers Interactive Provide functions that meet a business need Publishing GIS Services to ArcGIS for Server
Publishing a simple map service Demo 1 Publishing a simple map service Publishing GIS Services to ArcGIS for Server
Essential Vocabulary Analyzers Cached map Data store Dynamic map Feature Service Service Definition File (SD) Stage Publishing GIS Services to ArcGIS for Server
Publishing workflow Publishing GIS Services to ArcGIS for Server
Service publishing workflow Service deployed and started Service Editor Publish Share as service Configure Properties Analyze Errors No Stage Yes Fix Exit Save an sd draft or discard Publishing GIS Services to ArcGIS for Server
Choosing a server ArcGIS Online ArcGIS Server Cloud Desktop On-Premises Desktop ArcGIS for Portal A Publishing GIS Services to ArcGIS for Server
ArcGIS for Server on the Cloud Servers Server Characteristics ArcGIS for Server Ability to publish a variety of GIS resources Supports all capabilities Ability to register data with the server ArcGIS Online No server to buy, install or maintain Scales automatically as user base increases Only supports Tiled Map and Feature services Data is private to each service Portal for ArcGIS ArcGIS for Server + ArcGIS Online Publish hosted services on premise ArcGIS for Server on the Cloud Configurable No maintenance Publishing GIS Services to ArcGIS for Server
Service capabilities Depend on server and licensing Network Analysis Mapping Tiled Mapping Mobile Data Access Feature Access Open Standards A Publishing GIS Services to ArcGIS for 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 for Server
Sharing items Must be signed into ArcGIS Online or your portal My Content Everyone Organization* Groups Publishing GIS Services to ArcGIS for 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 for Server
Service Definition Desktop ArcGIS Online/ ArcGIS Server Map Map Data (optional) Publishing Service Service Configuration
Consuming services Mobile Apps Web Apps Desktop ArcGIS Online GIS Server ArcGIS Online Publishing GIS Services to ArcGIS for Server
Publishing a cached map service from a service definition file Demo 2 Publishing a cached map service from a service definition file Publishing GIS Services to ArcGIS for Server
Data Stores Publishing GIS Services to ArcGIS for Server
Data Stores Determine how published services access data Register data directories and databases Three registration options: Referenced Replaced ArcGIS Server’s Managed Database Publishing GIS Services to ArcGIS for Server
Data Store Registration: referenced Publisher and server reference the SAME Database connection Folder path Publishing using shared data ArcGIS Server on-premise Publisher’s machine References Data Publish Publishing GIS Services to ArcGIS for Server
Data Store Registration: replaced Publisher and server reference DIFFERENT Database connections Folder paths Data sources are replaced during publishing ArcGIS Server Publisher’s machine References Data Publish Geodata service for synchronizing changes Data copied manually before publishing Publishing GIS Services to ArcGIS for Server
Data Store Registration: managed Used only when publishing a Feature service or a Web Feature Service-Transactional (WFS-T) by not referencing the data Must be an enterprise geodatase ArcGIS Server Publisher’s machine References Data Publish Data copied during publishing Managed Enterprise geodatabase Publishing GIS Services to ArcGIS for Server
Publishing a feature service Demo 3 Publishing a feature service Publishing GIS Services to ArcGIS for Server
Automating publishing using Python scripts Publishing GIS Services to ArcGIS for 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 4 Publishing using Python Publishing GIS Services to ArcGIS for Server
Tips & Tricks Videos 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 for Server
Summary Publishing allows you users: Publishing workflow is the same 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 for Server
Thank you… First Offering ID: 1208 Second Offering ID: 1318 Please fill out the session evaluation First Offering ID: 1208 Second Offering ID: 1318 Online – www.esri.com/ucsessionsurveys Paper – pick up and put in drop box Publishing GIS Services to ArcGIS for Server
Wrap-up & Questions Related presentations 7/9 3:15PM 4:30PM Technical Workshop Online Services ArcGIS for Organizations: An Introduction Ball06 C Web and Server ArcGIS Server—An Introduction Ball06 D 7/10 Portal for ArcGIS -- An Introduction 14 B Using ArcGIS Server in the Amazon Cloud Publishing GIS Services to ArcGIS for Server
Wrap-up & Questions Related presentations 7/10 3:15PM 4:30PM Technical Workshop Web and Server Portal for ArcGIS -- An Introduction 14 B Using ArcGIS Server in the Amazon Cloud Ball06 D 7/11 8:30 AM 9:45PM Online Services ArcGIS for Organizations: An Introduction Ball06 D 1:30PM 2:00PM Tech Workshop 30 Minute Mapping Tips and Tricks for Publishing Hosted Services to Your ArcGIS Organization Hall F: 1 Publishing GIS Services to ArcGIS for Server
Publishing GIS Services to ArcGIS for Server