SlideShare a Scribd company logo
ArcGIS API for Python:
An Introduction to the Modules
Chunming Peng
Shuang Song
2023 ESRI USER CONFERENCE
Slides and Notebooks – will be available!
After the Event!
• Esri Proceedings site - Slides
• ArcGISAPI for Python Public Repo – Notebooks
- https://github.com/Esri/arcgis-python-api
- On the conference_talks in the talks directory
Online Questions
After the Event!
• We will answer live and Pigeonhole questions during our Q&A.
• If we’re unable to answer your question here, we’ll do our best to follow up in Pigeonhole,
or with you directly if you provide your name or arrange to meet us at the Showcase area.
Agenda
• Get started with ArcGISAPI for Python
• Work with the modules
- gis
- features
- mapping
- geoenrichment
- learn
• What's new with latest version 2.2.0a0 (beta)?
Get started with ArcGIS
API for Python
What is the ArcGIS API for Python?
• Pythonic API to your Web GIS (ArcGIS Online and Enterprise)
• Powerful Python library
• For performing
- GIS visualization and analysis
- Spatial data management
- GIS system administration tasks
UC2023 ArcGIS API for Python Intro_1688158152584001jdnT .pdf
ArcPy V.S. Python API ArcPy
• Maps and projects
• Deep access to Pro
with simple code
• 1700+ geoprocessing
tools
• Comprehensive
ArcGIS API for
Python
• Manage web layers,
maps, and tools
• Deploy anywhere
• Build geospatial deep
learning models
• Lightweighted
ArcPy + ArcGIS API
for Python
• Do everything with
Python
• Jupyter Notebook rich
integration
• Seamlessly blend web
layers and local
analysis
Pro Enterprise Online
How to use it?
• https://developers.arcgis.com/python/guide/get-started
• Environments: conda, pip, arcgispro-py3 (ArcGIS Pro environment)
• IDEs: Jupyter Notebooks, Visual Studio Code, PyCharm, others
• ArcGISAPI for Python + Jupyter Notebooks =
Dependencies
For ArcGIS API for Python v2.2.0a0
• Build with conda / pip
• Support Python v3.9 - 3.11
• ArcGIS Pro v3.1 by default comes with v2.1.0.3
Modules
• Management
• Analysis
• Visualization
• DataAccess and
Manipulation
Work with the modules
The gis module
• An information model for GIS
hosted within ArcGIS Online or
ArcGIS Enterprise
• An entry point to the GIS
• Provides functionality to -
- manage (create, read, update and
delete) GIS users, groups and
content
- access GIS services
Classes
GIS
Item, ContentManager
User, UserManager
Group, GroupManager
Datastore,
DatastoreManager
...
Submodules
admin
server
agoserver
tasks
sharing
Shuang Song
Demo I
The features module
• Feature
- Entities located in space with a geometrical
representation
- A set of properties
• The arcgis.features module
- Classes and functions for working with
feature data, feature layers and collections
of feature layers
- Contains spatial analysis functions
• Spatially enabled DataFrame
- SeDF vs. DF + SHAPE column
Classes
Feature
FeatureLayer
Table
FeatureLayerCollection
FeatureCollection
FeatureSet
GeoAccessor
GeoSeriesAccessor
...
Submodules
analysis
analyze_patterns
...
managers
Shuang Song
Demo II
The mapping module
- `mapping`: represent and interact with web maps, scenes, and certain layer types such as map image and vector tiles;
used to visualize maps, scenes and layers using the map widget in Jupyter notebook environment.
• 2D Maps
• 3D Scenes
• Map Service Layers
• OGC Layers
• Utility Functions
export_map create_colormap
arcgis.mapping.renderer
•visual_variables
•generate_renderer
•generate_simple
•generate_heatmap
•generate_unique
•generate_classbreaks
arcgis.mapping.symbol
•create_symbol
arcgis.mapping.forms
•FormCollection
•FormInfo
•FormElement
•FormFieldElement
•FormGroupElement
•FormExpressionInfo
Utility Functions
UC2023 ArcGIS API for Python Intro_1688158152584001jdnT .pdf
The geoenrichment module
- `geoenrichment`: provides access to Business Analyst’s
demographic and jurisdictional areas data through enrichment,
standard geography queries and reporting.
- Using a local source requires ArcGIS Pro with the Business
Analyst extension and at least one country’s data pack to be
installed. A remote source requires access to a property
configured Web GIS.
Data Collection Country
BufferStudyArea NamedStatisticalArea
Utility functions
The geoenrichment module
• Utility functions:
- get_countries
• enrich
- create_report
- standard_geography_query
- service_limits
UC2023 ArcGIS API for Python Intro_1688158152584001jdnT .pdf
UC2023 ArcGIS API for Python Intro_1688158152584001jdnT .pdf
The geometry module - `geometry`: defines useful geometry types for
working with geographic information and GIS
functionality. It provides functions which use geometric
types as input and output as well as functions for
easily converting geometries between different
representations.
• Geometry
• Object-oriented operations
• Class static operations
• Sub-modules:
- arcgis.geometry.filters
- arcgis.geometry.functions
- AreaUnits, LengthUnits
Chunming Peng
Demo III
Chunming Peng
Demo IV
The learn module
Chunming Peng
Demo IV
Chunming Peng
Demo IV
What's new with 2.2.0a0 (beta)?
gis module
•clone UX StoryMap
Experience
Builder
learn module
•LSTM
•AutoML
•TimeSeries
...
Where to Find Help!
• Official Documentation and Guides: https://developers.arcgis.com/python/
- Samples
- Guides
- Tutorials
- API Ref
• Esri Community: https://geonet.esri.com/groups/arcgis-python-api/
• Esri Learn: https://www.esri.com/training/catalog/5e14df4436e7e15d09b53cff/arcgis-api-
for-python-fundamentals/
• Public Github Page: https://github.com/esri/arcgis-python-api
- Submit issues
- Ask questions
Download the Esri
Events app and find
your event
Selectthe session
you attended
Scroll down to
“Survey”
Log in to access the
survey
Please Share Your Feedback in the App
Questions?
UC2023 ArcGIS API for Python Intro_1688158152584001jdnT .pdf

More Related Content

PDF
Esriuk_track5_pro_launch
PDF
Jefferson Andrade - Esri Dev Summit 2016 #02 - Dev Tools
PPTX
Python and GIS: Improving Your Workflow
PPTX
Esri South Africa Python for Everyone
PPTX
Introduction to ArcGIS for Developers, Esri, Charles van der Put, Jim Barry
PPTX
Gis without the_box_may2012
PPTX
ArcGIS Online Lunch and Learn
PPTX
ArcGIS Progress and Road Map - Esri Ireland Tech Update 2019
Esriuk_track5_pro_launch
Jefferson Andrade - Esri Dev Summit 2016 #02 - Dev Tools
Python and GIS: Improving Your Workflow
Esri South Africa Python for Everyone
Introduction to ArcGIS for Developers, Esri, Charles van der Put, Jim Barry
Gis without the_box_may2012
ArcGIS Online Lunch and Learn
ArcGIS Progress and Road Map - Esri Ireland Tech Update 2019

Similar to UC2023 ArcGIS API for Python Intro_1688158152584001jdnT .pdf (20)

PDF
Esri Scotland Conf 2016 Web AppBuilder
KEY
Geotalk presentation
PDF
Switching Your Teaching to ArcGIS Pro - Smart Education - Higher - AC18
PDF
Intro To Image Analysis UC 23_1688146053955001cQIU .pdf
PDF
Imagery Bundles for ArcGIS
PPT
webgis architecture and practices patterns
PPTX
Web app job and functions - TUGAIT 2017
PPTX
Getting Started with the ArcGIS API for JavaScript, Esri, Julie Powell, Antoo...
PDF
Forge - DevCon 2016: Free your BIM data
PPTX
Python Raster Function - Esri Developer Conference - 2015
PDF
Architecting the ArcGIS Platform
PDF
Specialist-ArcGIS-Server-API-3.x-and-4-for-JavaScript.pdf
PPTX
Introduction to SharePoint Framework
PDF
I Didn't Know You Could Do That -Technical - AC18
PDF
Icinga Camp Berlin 2018 - Dev and Ops Stories - Integrations++
PPTX
The Greatest Introduction to SharePoint Framework (SPFx) on earth!
PPTX
Install, Compile, Setup, Setting OpenCV 3.2, Visual C++ 2015, Win 64bit,
PDF
Forge - DevCon 2016: Drawings! Drawings! Everywhere!
PPTX
Esri Scotland Conf 2016 Glasgow City Council
Esri Scotland Conf 2016 Web AppBuilder
Geotalk presentation
Switching Your Teaching to ArcGIS Pro - Smart Education - Higher - AC18
Intro To Image Analysis UC 23_1688146053955001cQIU .pdf
Imagery Bundles for ArcGIS
webgis architecture and practices patterns
Web app job and functions - TUGAIT 2017
Getting Started with the ArcGIS API for JavaScript, Esri, Julie Powell, Antoo...
Forge - DevCon 2016: Free your BIM data
Python Raster Function - Esri Developer Conference - 2015
Architecting the ArcGIS Platform
Specialist-ArcGIS-Server-API-3.x-and-4-for-JavaScript.pdf
Introduction to SharePoint Framework
I Didn't Know You Could Do That -Technical - AC18
Icinga Camp Berlin 2018 - Dev and Ops Stories - Integrations++
The Greatest Introduction to SharePoint Framework (SPFx) on earth!
Install, Compile, Setup, Setting OpenCV 3.2, Visual C++ 2015, Win 64bit,
Forge - DevCon 2016: Drawings! Drawings! Everywhere!
Esri Scotland Conf 2016 Glasgow City Council
Ad

Recently uploaded (20)

PPTX
Spectroscopy.pptx food analysis technology
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
KodekX | Application Modernization Development
PDF
Spectral efficient network and resource selection model in 5G networks
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Encapsulation theory and applications.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Electronic commerce courselecture one. Pdf
Spectroscopy.pptx food analysis technology
The Rise and Fall of 3GPP – Time for a Sabbatical?
Building Integrated photovoltaic BIPV_UPV.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Programs and apps: productivity, graphics, security and other tools
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
KodekX | Application Modernization Development
Spectral efficient network and resource selection model in 5G networks
“AI and Expert System Decision Support & Business Intelligence Systems”
Encapsulation theory and applications.pdf
The AUB Centre for AI in Media Proposal.docx
20250228 LYD VKU AI Blended-Learning.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Review of recent advances in non-invasive hemoglobin estimation
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
MYSQL Presentation for SQL database connectivity
Electronic commerce courselecture one. Pdf
Ad

UC2023 ArcGIS API for Python Intro_1688158152584001jdnT .pdf

  • 1. ArcGIS API for Python: An Introduction to the Modules Chunming Peng Shuang Song 2023 ESRI USER CONFERENCE
  • 2. Slides and Notebooks – will be available! After the Event! • Esri Proceedings site - Slides • ArcGISAPI for Python Public Repo – Notebooks - https://github.com/Esri/arcgis-python-api - On the conference_talks in the talks directory
  • 3. Online Questions After the Event! • We will answer live and Pigeonhole questions during our Q&A. • If we’re unable to answer your question here, we’ll do our best to follow up in Pigeonhole, or with you directly if you provide your name or arrange to meet us at the Showcase area.
  • 4. Agenda • Get started with ArcGISAPI for Python • Work with the modules - gis - features - mapping - geoenrichment - learn • What's new with latest version 2.2.0a0 (beta)?
  • 5. Get started with ArcGIS API for Python
  • 6. What is the ArcGIS API for Python? • Pythonic API to your Web GIS (ArcGIS Online and Enterprise) • Powerful Python library • For performing - GIS visualization and analysis - Spatial data management - GIS system administration tasks
  • 8. ArcPy V.S. Python API ArcPy • Maps and projects • Deep access to Pro with simple code • 1700+ geoprocessing tools • Comprehensive ArcGIS API for Python • Manage web layers, maps, and tools • Deploy anywhere • Build geospatial deep learning models • Lightweighted ArcPy + ArcGIS API for Python • Do everything with Python • Jupyter Notebook rich integration • Seamlessly blend web layers and local analysis Pro Enterprise Online
  • 9. How to use it? • https://developers.arcgis.com/python/guide/get-started • Environments: conda, pip, arcgispro-py3 (ArcGIS Pro environment) • IDEs: Jupyter Notebooks, Visual Studio Code, PyCharm, others • ArcGISAPI for Python + Jupyter Notebooks =
  • 10. Dependencies For ArcGIS API for Python v2.2.0a0 • Build with conda / pip • Support Python v3.9 - 3.11 • ArcGIS Pro v3.1 by default comes with v2.1.0.3
  • 11. Modules • Management • Analysis • Visualization • DataAccess and Manipulation
  • 12. Work with the modules
  • 13. The gis module • An information model for GIS hosted within ArcGIS Online or ArcGIS Enterprise • An entry point to the GIS • Provides functionality to - - manage (create, read, update and delete) GIS users, groups and content - access GIS services Classes GIS Item, ContentManager User, UserManager Group, GroupManager Datastore, DatastoreManager ... Submodules admin server agoserver tasks sharing
  • 15. The features module • Feature - Entities located in space with a geometrical representation - A set of properties • The arcgis.features module - Classes and functions for working with feature data, feature layers and collections of feature layers - Contains spatial analysis functions • Spatially enabled DataFrame - SeDF vs. DF + SHAPE column Classes Feature FeatureLayer Table FeatureLayerCollection FeatureCollection FeatureSet GeoAccessor GeoSeriesAccessor ... Submodules analysis analyze_patterns ... managers
  • 17. The mapping module - `mapping`: represent and interact with web maps, scenes, and certain layer types such as map image and vector tiles; used to visualize maps, scenes and layers using the map widget in Jupyter notebook environment. • 2D Maps • 3D Scenes • Map Service Layers • OGC Layers • Utility Functions export_map create_colormap arcgis.mapping.renderer •visual_variables •generate_renderer •generate_simple •generate_heatmap •generate_unique •generate_classbreaks arcgis.mapping.symbol •create_symbol arcgis.mapping.forms •FormCollection •FormInfo •FormElement •FormFieldElement •FormGroupElement •FormExpressionInfo Utility Functions
  • 19. The geoenrichment module - `geoenrichment`: provides access to Business Analyst’s demographic and jurisdictional areas data through enrichment, standard geography queries and reporting. - Using a local source requires ArcGIS Pro with the Business Analyst extension and at least one country’s data pack to be installed. A remote source requires access to a property configured Web GIS. Data Collection Country BufferStudyArea NamedStatisticalArea Utility functions
  • 20. The geoenrichment module • Utility functions: - get_countries • enrich - create_report - standard_geography_query - service_limits
  • 23. The geometry module - `geometry`: defines useful geometry types for working with geographic information and GIS functionality. It provides functions which use geometric types as input and output as well as functions for easily converting geometries between different representations. • Geometry • Object-oriented operations • Class static operations • Sub-modules: - arcgis.geometry.filters - arcgis.geometry.functions - AreaUnits, LengthUnits
  • 29. What's new with 2.2.0a0 (beta)? gis module •clone UX StoryMap Experience Builder learn module •LSTM •AutoML •TimeSeries ...
  • 30. Where to Find Help! • Official Documentation and Guides: https://developers.arcgis.com/python/ - Samples - Guides - Tutorials - API Ref • Esri Community: https://geonet.esri.com/groups/arcgis-python-api/ • Esri Learn: https://www.esri.com/training/catalog/5e14df4436e7e15d09b53cff/arcgis-api- for-python-fundamentals/ • Public Github Page: https://github.com/esri/arcgis-python-api - Submit issues - Ask questions
  • 31. Download the Esri Events app and find your event Selectthe session you attended Scroll down to “Survey” Log in to access the survey Please Share Your Feedback in the App