geodatabase: automating your geodata schema with …€¦ · python demos. summary. hosted feature...
TRANSCRIPT
Geodatabase: Automating Your Geodata
Schema with GeoprocessingJillian Penney
Assumptions
• Geodatabase fundamentals
• Experience with geoprocessing (GP) and Python
• Need to create new data or modify deployed data
• Please hold questions until the end of the session
• There will be a link at the end to download code
Overview
• Schema creation
• Modifying deployed data
Benefits of Using Geoprocessing
• No recreating schema or reloading data
• Schedule changes to take place at appropriate time
• Change documentation
What tools should I use?
• Look in the Data Management toolbox
• Many tools to create and modify
geodatabase items
Using Python
• Cross-platform
• Programming logic
- Custom validation
• Modular
• Scheduling
• Free
Utilizing Python scripts and arcpy
Getting started…
Requirements
Prototype
Requirements
Prototype
Deployment
Create Schema Demo
• Add fields
• Add domain and subtypes
• Add contingent values
• Add an attribute rule
• Ready to edit and deploy
Creating new schema with GP
Modify Schema Demo
• Modifying data that has been deployed
• Use GP to plan your changes
• Minimize downtime
- Feature Services by reference
- Also applicable for Desktop editing
- Schedule to run at preferred time
Rolling out schema changes using GP
Create & modify geodatabase schema
Python Demos
Summary
Hosted feature layer considerations
• Add & delete fields – you can use GP in Pro!
• Enable attachments
• Add Domains
Hosted feature layer considerations
• Coded value domain • Range domain
Other considerations
• Ability to run models in Python using arcpy.AddToolbox()
• Ability to manage connections to enterprise geodatabase
- arcpy.AcceptConnections()
- arcpy.ListUsers()
- arcpy.DisconnectUser()
• Use a task scheduler to run scripts overnight
- Windows Task Scheduler
- Linux cron job
Summary
• Lots of functionality available via Geoprocessing
• Use where most comfortable
• Geoprocessing pane
• ModelBuilder
• Python
• Easy way to document schema creation and modifications
• Minimize downtime
Other sessions
• Esri Best Practices:
Implementing an Enterprise
Geodatabase
• Enterprise Geodatabase:
Automating Administration Tasks
Using Python
• Geodatabase: Setting Up Your
Geodata Schema in ArcGIS Pro
• Geodatabase: Ensuring Data
Quality with Attribute Rules and
Contingent Values
WORKSHOP LOCATION
• SDCC - Room 31 A
• SDCC – Expo Demo Theater 4
• SDCC – Expo Demo Theater 4
• SDCC – Ballroom 06 E
TIME FRAME
• Wednesday 2:30-3:30 pm
• Wednesday 4-4:45 pm
• Thursday 10-10:45 am
• Thursday 12:15-1 pm
• Thursday 4-5 pm
Please Share Your Feedback in the App
Download the Esri
Events app and find
your event
Select the session
you attended
Scroll down to
“Survey”
Log in to access the
survey
Complete the survey
and select “Submit”