Book Image

ArcGIS Blueprints

By : Donald Eric Pimpler, Eric Pimpler
Book Image

ArcGIS Blueprints

By: Donald Eric Pimpler, Eric Pimpler

Overview of this book

This book is an immersive guide to take your ArcGIS Desktop application development skills to the next level It starts off by providing detailed description and examples of how to create ArcGIS Desktop Python toolboxes that will serve as containers for many of the applications that you will build. We provide several practical projects that involve building a local area/community map and extracting wildfire data. You will then learn how to build tools that can access data from ArcGIS Server using the ArcGIS REST API. Furthermore, we deal with the integration of additional open source Python libraries into your applications, which will help you chart and graph advanced GUI development; read and write JSON, CSV, and XML format data sources; write outputs to Google Earth Pro, and more. Along the way, you will be introduced to advanced ArcPy Mapping and ArcPy Data Access module techniques and use data-driven Pages to automate the creation of map books. Finally, you will learn advanced techniques to work with video and social media feeds. By the end of the book, you will have your own desktop application without having spent too much time learning sophisticated theory.
Table of Contents (18 chapters)
ArcGIS Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 4. Analyzing Crime Patterns with ArcGIS Desktop, ArcPy, and Plotly(Part 1)

This is the first of two chapters that will cover the creation of crime analysis tools, using a combination of ArcGIS Desktop with arcpy, arcpy.mapping, and arcpy.da along with the Python requests and plotly modules. Data for the application will be pulled from the Seattle Open Data initiative, which contains crime data, among many other datasets. The Socrata API will be used to request the crime data that will be used in our analysis tools.

Three tools will be built in this chapter and added to a custom ArcGIS Python Toolbox. The initial focus of this chapter will be the construction of a tool that connects to the open database using the Python requests module with the Socrata API to request and receive data. The data will be written to a local geodatabase feature class. A second tool will take the imported records and aggregate to boundary datasets, such as census block groups, police precincts, and neighborhood...