Esri South Africa Python for Everyone
-
Upload
esri-south-africa -
Category
Technology
-
view
669 -
download
0
description
Transcript of Esri South Africa Python for Everyone
![Page 1: Esri South Africa Python for Everyone](https://reader030.fdocuments.us/reader030/viewer/2022020207/554a4709b4c90582328b5634/html5/thumbnails/1.jpg)
Python for Everyone
![Page 2: Esri South Africa Python for Everyone](https://reader030.fdocuments.us/reader030/viewer/2022020207/554a4709b4c90582328b5634/html5/thumbnails/2.jpg)
Introduction
Rudolf Eduard Matthew Lawrence
Presenters:
![Page 3: Esri South Africa Python for Everyone](https://reader030.fdocuments.us/reader030/viewer/2022020207/554a4709b4c90582328b5634/html5/thumbnails/3.jpg)
Presentation Outline
1. Introduction.
2. What is Python?
3. Why Python?
4. Where does it fit in?
5. Automate Workflow (Desktop)
6. Automate Workflow (Server)
7. ArcGIS Resources centres
8. Training
9. Closing
![Page 4: Esri South Africa Python for Everyone](https://reader030.fdocuments.us/reader030/viewer/2022020207/554a4709b4c90582328b5634/html5/thumbnails/4.jpg)
What is Python?
• Python was created in 1990 by Guido van Rossum
“Python is an easy to learn, powerful language… (with) high-level
data structures and a simple but effective approach to
object-oriented programming. Python’s elegant syntax and
dynamic typing…make it an ideal language for scripting…in many
areas and on most platforms.” –python.org
• Scripting language of ArcGIS
• Free, cross-platform, easy to learn, widely used, great community
![Page 5: Esri South Africa Python for Everyone](https://reader030.fdocuments.us/reader030/viewer/2022020207/554a4709b4c90582328b5634/html5/thumbnails/5.jpg)
Why Python?
• Automating workflow
• Productivity (faster)
• Cross platform
• Industry and Open Standards
• Scripting language
• Extend Model builder
• Scheduled tasks
• Standard install with ArcGIS
• Integrated with ArcGIS (ArcPy)
![Page 6: Esri South Africa Python for Everyone](https://reader030.fdocuments.us/reader030/viewer/2022020207/554a4709b4c90582328b5634/html5/thumbnails/6.jpg)
ArcGIS integration (ArcPY)
• Creates a useful and productive way to execute geographic
data analysis, data conversion, data management, and map
automation within the Python framework.
• ArcGIS applications written with ArcPy provide access to
numerous additional libraries available in the Python
community.
• GIS professionals and programmers can
benefit from integration with these
various disciplines.
![Page 7: Esri South Africa Python for Everyone](https://reader030.fdocuments.us/reader030/viewer/2022020207/554a4709b4c90582328b5634/html5/thumbnails/7.jpg)
Where does it fit in?
![Page 8: Esri South Africa Python for Everyone](https://reader030.fdocuments.us/reader030/viewer/2022020207/554a4709b4c90582328b5634/html5/thumbnails/8.jpg)
Automate Workflow (Desktop)
• Extending Geoprocessing in model builder• Automating repetitive tasks• Scheduled tasks• Bulk metadata reporting• Multiple Layouts
![Page 9: Esri South Africa Python for Everyone](https://reader030.fdocuments.us/reader030/viewer/2022020207/554a4709b4c90582328b5634/html5/thumbnails/9.jpg)
Automate Workflow (Desktop)
• Attribute manipulation• Geometry manipulation &
automation• Integrate 3rd party functions (non-Esri)
![Page 10: Esri South Africa Python for Everyone](https://reader030.fdocuments.us/reader030/viewer/2022020207/554a4709b4c90582328b5634/html5/thumbnails/10.jpg)
Demo (Desktop)
• Field calculator
• From model to script
• Script scheduling
• Batch process with log
• Batch process with email
• Batch metadata extraction
• Enhanced Data Driven Pages
• Geometry operations
• Sample Scripts
![Page 11: Esri South Africa Python for Everyone](https://reader030.fdocuments.us/reader030/viewer/2022020207/554a4709b4c90582328b5634/html5/thumbnails/11.jpg)
• ArcPY Documentation / Help reference
• Python window – (run buffer example)
• ArcPY list function – (list layers or MXD’s)
• Working with selections – (sample from training)
• Geometry – (sample from training)
• Sharing Geoprocessing package – (buffer / clip tool)
Demo (Desktop)
![Page 12: Esri South Africa Python for Everyone](https://reader030.fdocuments.us/reader030/viewer/2022020207/554a4709b4c90582328b5634/html5/thumbnails/12.jpg)
Automate Workflow (Server)
• Geodatabase admin tasks (compress)• ArcGIS Server admin tasks (start /stop services, status, logs)• Geoprocessing – Data extraction (clip & ship)• Printing (script)
GeodatabaseArcGIS Server
Geoprocessing
Printing
Automate Workflow
![Page 13: Esri South Africa Python for Everyone](https://reader030.fdocuments.us/reader030/viewer/2022020207/554a4709b4c90582328b5634/html5/thumbnails/13.jpg)
Demo (Server)
• Geodatabase automation tasks− Compress− Replication− other
• ArcGIS Server− Data extraction− Advanced printing− Administrative tasks
![Page 14: Esri South Africa Python for Everyone](https://reader030.fdocuments.us/reader030/viewer/2022020207/554a4709b4c90582328b5634/html5/thumbnails/14.jpg)
Need more info on Python…?
• Resources.esri.com− Concepts− Samples− Community− Video− Galleries
• Desktop Help and Tutorials
• Official Training courses
![Page 15: Esri South Africa Python for Everyone](https://reader030.fdocuments.us/reader030/viewer/2022020207/554a4709b4c90582328b5634/html5/thumbnails/15.jpg)
Official Python Training
• ArcGIS 3 Performing Analysis
• Introduction to Geo-processing Scripts using Python.
![Page 16: Esri South Africa Python for Everyone](https://reader030.fdocuments.us/reader030/viewer/2022020207/554a4709b4c90582328b5634/html5/thumbnails/16.jpg)
Are there any Questions?