1 / 14

Automating Geodatabase Administration with Python

Automating Geodatabase Administration with Python. Russell Brennan. Python and Geodatabases. Python Is the programming language for geoprocessing. ArcPy site package is used to access geoprocessing functionality. Geodatabase Core ArcGIS Data model

elu
Download Presentation

Automating Geodatabase Administration with Python

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Automating Geodatabase Administration with Python Russell Brennan

  2. Python and Geodatabases • Python • Is the programming language for geoprocessing. • ArcPy site package is used to access geoprocessing functionality. • Geodatabase • Core ArcGIS Data model • A comprehensive model for representing and managing GIS data • A physical store of geographic data. • A transactional model for managing GIS workflows.

  3. Things you need to know • Familiar with using Python for geoprocessing • Arcpy, Python lists, looping, string manipulation, data types. • Familiar with Enterprise geodatabase concepts • Versions, replicas, connection files, data ownership.

  4. Agenda • Demo 1 • Geodatabase maintenance. • Reconcile/post/delete versions, synchronize replicas, error reporting and automatic notifications • Demo 2 • Scheduling your scripts to run (Windows) • Brief discussion of new admin 10.1 features

  5. Version Maintenance • Synchronize replicas • Reconcile versions • Post versions • Delete versions – this will depend on your organization’s workflow and version structure. • Compress database • Email notifications

  6. DEMO Rec, Post, Compress

  7. Scheduling your script to run • Using Windows task scheduler you can automate when your script will be run. • This is especially useful for tasks that need to be run on a regular basis.

  8. DEMO Scheduling

  9. What’s new at 10.1 • Tools: • Analyze Datasets • Rebuild Indexes • Reconcile Versions • Python functions: • ListVersions • ListReplicas • ListUsers (lists connected users) • DisconnectUsers • Describe will return the current release of a geodatabase

  10. This script is available online: • Should be page 5 or 6 of the Geoprocessing tool gallery. • URL • http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=A709782C-1422-2418-7FD5-E83695D0381E

  11. Related Sessions • Road Ahead – GDB Admin • Thursday 3:40 Room 27B

  12. http://www.esri.com/training Esri Training for Desktop Developers • Instructor-Led Courses • Introduction to Geoprocessing Scripts Using Python • Programming ArcGIS Desktop Using Add-Ins • Web Course • Using Python in ArcGIS Desktop 10

  13. Questions? www.esri.com/sessionevals

More Related