esri uc2013. technical workshop. technical workshop 2013 esri international user conference july...
TRANSCRIPT
Esri UC2013 . Technical Workshop .
Technical Workshop
2013 Esri International User ConferenceJuly 8–12, 2013 | San Diego, California
Publishing GIS Services to ArcGIS for Server
Atma Mani, Joanne Parkinson, Tushar Jadhav
Esri UC2013 . Technical Workshop .
Agenda
• Introduction
• Publishing workflow- Configuring services- Registering data with the server’s data store
• Consuming services
• Automating publishing workflows using Python
Publishing GIS Services to ArcGIS for Server
Esri UC2013 . Technical Workshop .
Introduction
Esri UC2013 . Technical Workshop .
Sharing GIS content on the web
• Share geographic information using the web
• Make geographic data available instantly across- Devices- Platforms
• Work on projects collaboratively
Publishing GIS Services to ArcGIS for Server
ArcGISServer
Esri UC2013 . Technical Workshop .
Map service layers
• Basemap 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
Esri UC2013 . Technical Workshop .
Publishing a simple map service
Demo 1
Esri UC2013 . Technical Workshop .
Publishing workflow
Esri UC2013 . Technical Workshop .
Service publishing workflow
Publishing GIS Services to ArcGIS for Server
Share as service
Share as service
FixFix
PublishPublish
ErrorsErrors
StageStage
Configure PropertiesConfigure Properties AnalyzeAnalyze
Service deployed
and started
Service Editor
No
Yes
Save an sd draft or discardSave an sd draft or discard
Exit
Esri UC2013 . Technical Workshop .
ArcGIS for Portal
ArcGIS Server Cloud
Choosing a server
ArcGIS ServerOn-Premises
Desktop
ArcGIS Online
Publishing GIS Services to ArcGIS for Server A
Esri UC2013 . Technical Workshop .
ServersServer 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
• Ability to publish a variety of GIS resources• Supports all capabilities• Ability to register data with the server• Configurable• No maintenance
Publishing GIS Services to ArcGIS for Server
Esri UC2013 . Technical Workshop .
Service capabilities
Publishing GIS Services to ArcGIS for Server
• Depend on server and licensing
A
MappingMapping
Tiled MappingTiled Mapping
Feature AccessFeature Access
Network AnalysisNetwork Analysis
Mobile Data AccessMobile Data Access
Open StandardsOpen Standards
Esri UC2013 . Technical Workshop .
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
Publishing GIS Services to ArcGIS for Server
1:250,000
1:500,000
1:1,000,000
Esri UC2013 . Technical Workshop .
Sharing items
• Must be signed into ArcGIS Online or your portal
Publishing GIS Services to ArcGIS for Server
My Content
Everyone
Organization*
Groups
Esri UC2013 . Technical Workshop .
Analyzers
• Help to- 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
Esri UC2013 . Technical Workshop .
Service Definition
Service Definition
Desktop ArcGIS Online/ ArcGIS Server
Map
ServiceService
Service Configuration
Map Data (optional)
Publishing
Esri UC2013 . Technical Workshop .
Consuming services
Publishing GIS Services to ArcGIS for Server
MobileApps
MobileApps
DesktopDesktop
Web AppsWeb Apps
GIS Server
ArcGIS OnlineArcGIS Online
Esri UC2013 . Technical Workshop .
Publishing a cached map service from a service definition file
Demo 2
Esri UC2013 . Technical Workshop .
Data Stores
Esri UC2013 . Technical Workshop .
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
Esri UC2013 . Technical Workshop .
Data Store Registration: referenced
• Publisher and server reference the SAME - Database connection- Folder path
• Publishing using shared dataArcGIS Server on-premisePublisher’s machine
References DataReferences Data
Publish
Publishing GIS Services to ArcGIS for Server
Esri UC2013 . Technical Workshop .
Data Store Registration: replaced
• Publisher and server reference DIFFERENT- Database connections- Folder paths
• Data sources are replaced during publishingArcGIS ServerPublisher’s machine
References
Data
References
Data
Publish
Geodata service for
synchronizing changes
Data copied manually
before publishing
Publishing GIS Services to ArcGIS for Server
Esri UC2013 . Technical Workshop .
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 ServerPublisher’s machine
References
Data
References
Data
Publish
Data copied during
publishing
Publishing GIS Services to ArcGIS for Server
Managed
Enterprise geodatabase
Esri UC2013 . Technical Workshop .
Publishing a feature service
Demo 3
Esri UC2013 . Technical Workshop .
Automating publishing using Python scripts
Esri UC2013 . Technical Workshop .
Arcpy library
• CreateMapSDDraft()
• StageService_server()
• UploadServiceDefinition_server()
Publishing GIS Services to ArcGIS for Server
Set up the variables
Configure the service
Stage into a SD file
Publish as service
Esri UC2013 . Technical Workshop .
Publishing using Python
Demo 4
Esri UC2013 . Technical Workshop .
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 for Server
Esri UC2013 . Technical Workshop .
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 for Server
Esri UC2013 . Technical Workshop .
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
Thank you…
Publishing GIS Services to ArcGIS for Server
Esri UC2013 . Technical Workshop .
Wrap-up & Questions
• Related presentations
Publishing GIS Services to ArcGIS for Server
7/9 3:15PM
4:30PM
Technical Workshop
Online Services
ArcGIS for Organizations: An Introduction
Ball06 C
7/9 3:15PM 4:30PM Technical Workshop
Web and Server
ArcGIS Server—An Introduction
Ball06 D
7/10 3:15PM 4:30PM Technical Workshop
Web and Server
Portal for ArcGIS -- An Introduction
14 B
7/10 3:15PM 4:30PM Technical Workshop
Web and Server
Using ArcGIS Server in the Amazon Cloud
Ball06 D
Esri UC2013 . Technical Workshop . Publishing GIS Services to ArcGIS for Server