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

Design


This is the second of two chapters that cover the development of tools for crime analysis, so we'll be building on what we developed in the first chapter. In the CrimeAnalysis.pyt toolbox, two new tools will be created: NeighborhoodBarChart and LinePlot. Both tools will use the Plotly Python library to create graphs based on crime data stored in a file geodatabase. The NeighborhoodBarChart tool will create a bar chart depicting the crime data by neighborhood, while the LinePlot tool will create a line plot graph showing the crime data over time. The charts will be exported to PNG format image files and displayed in an ArcMap layout. Finally, the Create Map tool will be updated to export the maps and charts stored in the layout view. The following diagram shows the whole process:

Let's get started and build the application.