Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Python for ArcGIS Pro
  • Table Of Contents Toc
Python for ArcGIS Pro

Python for ArcGIS Pro

By : Toms, Parker
4.8 (52)
close
close
Python for ArcGIS Pro

Python for ArcGIS Pro

4.8 (52)
By: Toms, Parker

Overview of this book

Integrating Python into your day-to-day ArcGIS work is highly recommended when dealing with large amounts of geospatial data. Python for ArcGIS Pro aims to help you get your work done faster, with greater repeatability and higher confidence in your results. Starting from programming basics and building in complexity, two experienced ArcGIS professionals-turned-Python programmers teach you how to incorporate scripting at each step: automating the production of maps for print, managing data between ArcGIS Pro and ArcGIS Online, creating custom script tools for sharing, and then running data analysis and visualization on top of the ArcGIS geospatial library, all using Python. You’ll use ArcGIS Pro Notebooks to explore and analyze geospatial data, and write data engineering scripts to manage ongoing data processing and data transfers. This exercise-based book also includes three rich real-world case studies, giving you an opportunity to apply and extend the concepts you studied earlier. Irrespective of your expertise level with Esri software or the Python language, you’ll benefit from this book’s hands-on approach, which takes you through the major uses of Python for ArcGIS Pro to boost your ArcGIS productivity.
Table of Contents (20 chapters)
close
close
1
Part I: Introduction to Python Modules for ArcGIS Pro
5
Part II: Applying Python Modules to Common GIS Tasks
10
Part III: Geospatial Data Analysis
14
Part IV: Case Studies
18
Other Books You May Enjoy
19
Index

Exercise: From GeoJSON to CSV to SHP using Pandas

In this exercise, you will explore Pandas using an example of addresses stored in a GeoJSON file. The address file is from openaddresses.io and represents a county in Pennsylvania. You will use the basic features of Pandas and Notebooks to transform data from the raw format supplied by OpenAddresses into a feature class. Along the way, you will create maps displaying the address data.

Pandas can be used in a standalone Python script, but for this example we will use a Notebook, a common method.

  1. Open ArcGIS Pro and start a new project, then add a new Notebook from the Insert tab. Rename the Notebook to Chapter8.
  2. In the first cell, you will import arcpy and arcgis, as well as pandas. Type in the following:
    import arcgis, arcpy
    import pandas as pd
    
  3. In the same cell, you will read the cameron-addresses-county.geojson file into a Pandas DataFrame. You will open the file and assign it to a data...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Python for ArcGIS Pro
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon