Skip to content

Latest commit

 

History

History
89 lines (65 loc) · 5.72 KB

README.md

File metadata and controls

89 lines (65 loc) · 5.72 KB

Esri Partner Tools

Useful tools for Esri Partners built with the ArcGIS API for Python

Contents

About

Partners working with Esri and ArcGIS implement many common workflows. The ArcGIS API for Python is an awesome automation library. This repo is meant to be a collection of POC scripts to automate some of these workflows.

While much of the code is in Jupyter Notebooks, it can easily be ported to pure python to run on the server or as headless apps. partnerutils/ can also be installed as a local package:

$ pip install -q -U git+https://github.com/mpayson/esri-partner-tools

Prerequisites

Contents

Getting Started

Many samples use partnerutils. To use this package, either copy & paste the functions as specified in each notebook OR:

$ pip install -q -U git+https://github.com/mpayson/esri-partner-tools

This will install the partnerutils as a local package in your active environment. The utilities can then be used as follows

from arcgis.gis import GIS
from partnerutils.processing_utils import batch_geocode_memo

gis = GIS(username="username", password="password")
addresses = ['El Burrito Redlands CA', '380 New York St Redlands CA']
results = batch_geocode_memo(addresses)

print(results)

Shout out to Ryan @ SafeGraph for showing me this is a thing. Otherwise, the notebooks should give enough detail to get started. If not, holler!

Sample Data

I included some sample data for testing and trialing:

Issues and Contributing

Want to request a new sample? Have a question? Would love to hear from you.

And PRs always welcome!