ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy...

22
ArcGIS API for Python: An Introduction John Yaist David Martinez

Transcript of ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy...

Page 1: ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy ArcGIS API for Python • Script against a portal-ArcGIS Online or ArcGIS Enterprise-Python

ArcGIS API for Python:

An IntroductionJohn Yaist

David Martinez

Page 2: ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy ArcGIS API for Python • Script against a portal-ArcGIS Online or ArcGIS Enterprise-Python

What is the ArcGIS API for Python

Organization

ArcGIS REST API

My Content Organization’s

Content

Community

Content

Page 3: ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy ArcGIS API for Python • Script against a portal-ArcGIS Online or ArcGIS Enterprise-Python

geometry

geo

processing

network

schematics

featuresraster

realtime

widgets

env

geo

analytics

gis

geo

enrichment

geocoding

mapping

apps

Page 4: ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy ArcGIS API for Python • Script against a portal-ArcGIS Online or ArcGIS Enterprise-Python

ArcGIS API for Python and ArcPy

ArcGIS API for Python • Script against a portal

- ArcGIS Online or ArcGIS Enterprise

- Python 3.x

• Analysis, Portal Admin, Content

Creation, Big Data Analysis

ArcPy• ArcGIS Desktop

- ArcMap – Python 2.x

- ArcGIS Pro – 3.x

• Mostly geoprocessing

• Some map automation

Page 5: ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy ArcGIS API for Python • Script against a portal-ArcGIS Online or ArcGIS Enterprise-Python

Four different groups

working with the

ArcGIS API for Python

- Org Administrators

- Content Publishers

- GIS Analysts and Data Scientists

- Power Users/Developers

Page 6: ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy ArcGIS API for Python • Script against a portal-ArcGIS Online or ArcGIS Enterprise-Python

Spatial Analysis

& Geoprocessing

Big Data

GeoAnalytics

Interactive

Exploration

GIS

Analysis

Content

Publishing

Desktop Apps

Org administration Developers

Whom is it for?

Page 7: ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy ArcGIS API for Python • Script against a portal-ArcGIS Online or ArcGIS Enterprise-Python

Automate Web

GIS management

• Populate portal with users,

groups

• Clone portals

• Re assign user content

• Perform comprehensive content

search

• Determine item relationship

• Create reports of users, their

items

Automate content

creation

• Automate content publishing

during off peak hours

• Update tiles and features from a

known database

• Replicate development

environment content to

production

• Inspect and update items with

broken service links

Reproducible

research

• Access big data tools

programmatically

• Utilize rich 3rd party Python

packages for data analysis

• Create rich charts, graphs,

embed 2D and 3D maps in

Jupyter Notebook environment

• Share your research with data

and notes with peers

Page 8: ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy ArcGIS API for Python • Script against a portal-ArcGIS Online or ArcGIS Enterprise-Python

ArcGIS + Jupyter =

Text goes here

Page 9: ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy ArcGIS API for Python • Script against a portal-ArcGIS Online or ArcGIS Enterprise-Python
Page 10: ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy ArcGIS API for Python • Script against a portal-ArcGIS Online or ArcGIS Enterprise-Python
Page 11: ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy ArcGIS API for Python • Script against a portal-ArcGIS Online or ArcGIS Enterprise-Python
Page 12: ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy ArcGIS API for Python • Script against a portal-ArcGIS Online or ArcGIS Enterprise-Python
Page 13: ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy ArcGIS API for Python • Script against a portal-ArcGIS Online or ArcGIS Enterprise-Python

How do I get it?

• Try it Live! – https://notebooks.esri.com

• ArcGIS Pro 2.4– included

• pip install arcgis

• conda install -c esri arcgis

• docker pull esridocker/arcgis-api-python-notebook

Page 14: ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy ArcGIS API for Python • Script against a portal-ArcGIS Online or ArcGIS Enterprise-Python
Page 15: ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy ArcGIS API for Python • Script against a portal-ArcGIS Online or ArcGIS Enterprise-Python

Different authentication schemes

• anonymous users

• built-in users

• users using LDAP, via

• Basic authentication

• Portal tier authentication

• users using Integrated Windows Authentication (IWA) through

NTLM or Kerberos

• smart card users / PKI authentication using certificate and key

files

• users connected to an ArcGIS Enterprise instance using ArcGIS

Pro

Page 16: ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy ArcGIS API for Python • Script against a portal-ArcGIS Online or ArcGIS Enterprise-Python

Workflows for Org

Administrators

Page 17: ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy ArcGIS API for Python • Script against a portal-ArcGIS Online or ArcGIS Enterprise-Python

Workflows for

Content Publishers

Page 18: ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy ArcGIS API for Python • Script against a portal-ArcGIS Online or ArcGIS Enterprise-Python

Workflows for

Analysts

Page 19: ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy ArcGIS API for Python • Script against a portal-ArcGIS Online or ArcGIS Enterprise-Python

Resources

• Website - https://developers.arcgis.com/python/

• GitHub repo - https://github.com/Esri/arcgis-python-api

• Try it Live! - https://notebooks.esri.com

• API Reference - https://esri.github.io/arcgis-python-api/apidoc/html/

• Community - https://community.esri.com/groups/arcgis-python-api/

Page 20: ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy ArcGIS API for Python • Script against a portal-ArcGIS Online or ArcGIS Enterprise-Python

Questions?

Page 21: ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy ArcGIS API for Python • Script against a portal-ArcGIS Online or ArcGIS Enterprise-Python

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”

Page 22: ArcGIS API for Python: An Introduction - Esri · 2019-08-12 · ArcGIS API for Python and ArcPy ArcGIS API for Python • Script against a portal-ArcGIS Online or ArcGIS Enterprise-Python