Extending Arc GIS with Python Clinton Dow Geoprocessing
- Slides: 11
Extending Arc. GIS with Python Clinton Dow – Geoprocessing Product Engineer @ Esri
Arc. Py: Moving Forward ‘Python is the language of GIS. ’ – Bill Moreland, Esri Dev Summit 2016 • Python 2 vs. 3 in Arc. GIS Python 2 End of Support Countdown Clock! - Arc. GIS Pro 1. 2 Python 3. 4. 3 - Arc. GIS 10. 4 Python 2. 7. 10 - Arc. GIS Pro 1. 3+ Decoupled Python! - Arc. GIS for Server Python 2. 7. 10 -
Extending Arc. GIS with Python Modules Python is a ‘Batteries Included’ Programming Language • Python - Distutils - - Create Packages of your Python code for distribution to other programmers Collections - - Standard Library Utilize common functions on collections of objects Itertools - Powerful functions to iterate over collections of objects
There Must Be A Better Way! Never Underestimate The Python Standard Library! • Raymond - Hettinger Transforming Code Into Beautiful, Idiomatic Python - https: //www. youtube. com/watch? v=OSGv 2 Vn. C 0 go
Extending Arc. GIS with Python Modules Python is a ‘Batteries Included’ Programming Language • Standard Data Types CSV - Excel - - Xlrd - xlwt XML - Etree - DOM - SAX JSON - Serialize/Deserialize dictionary-like data structure
Extending Arc. GIS with Python Modules Utilize the Extended Python Ecosystem in your Arc. GIS Tools • Scientific • Utility • Web-Scraping - Jupyter - Requests - Beautiful. Soup - IPython - Arrow - Scrapy - Num. Py - Chardet - Sci. Py - Pandas - Bokeh - Py. SAL - Plotly - Sci. Kit Learn • Visualization
Extending Arc. GIS with Python Modules Utilize the Extended Python Ecosystem in your Arc. GIS Tools • Web Framework - Django - Geo. Django • Web Service API - Twitter - AWS - Flask - Elastic. Search - Pyramid - Etc…
awesome-python on Git. Hub Curated list of the best Python packages as chosen by the Git. Hub community
The Future of Python in Arc. GIS Continuum Analytics’ conda Virtual. Env & Package Manager • Conda - - integration into Arc. GIS Advanced Python Package Management - Curated channels of scientific Python packages - Includes C and Fortran compiler - Create and host your own conda packages - Easily share your code with the GIS community Built-In Virtual Environment Support - Manage multiple environments with access to Arc. Py - Easily share environments - Trivializes dependency issues
The Future of Python in Arc. GIS Screenshots of conda UI
Thank You! Clinton Dow - Contact Info cdow@esri. com http: //lnked. in/cdow