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 ArcGIS Blueprints
  • Table Of Contents Toc
  • Feedback & Rating feedback
ArcGIS Blueprints

ArcGIS Blueprints

By : Eric Pimpler
4 (1)
close
close
ArcGIS Blueprints

ArcGIS Blueprints

4 (1)
By: 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 (13 chapters)
close
close
12
Index

Creating the Aggregate Crimes tool

The Aggregate Crimes tool will aggregate the crimes to a polygon layer, such as census block groups or police precinct boundaries. This tool will use the existing SpatialJoin tool found in the Analysis Tools toolbox to summarize the total number of crimes in each polygon. Two polygon feature classes have been provided for you: Seattle_BG and Seattle_Merge_Precincts. The former contains census block groups for Seattle, while the later contains police precincts for Seattle. Both datasets are in the C:\ArcGIS_Blueprint_Python\data\crime folder. The Aggregate Crimes tool will prompt the user to select a polygon layer, crime dataset, and output feature class; it will then perform a spatial join:

  1. Open C:\ArcGIS_Blueprint_Python\ch4\SeattleCrimes.mxd in ArcMap.
  2. Duplicate the code that you have already created for the ImportRecords class by copying and pasting this class into the same CrimeAnalysis.pyt file.
  3. Rename the duplicated ImportRecords class as AggregateCrimes...
Visually different images
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.
ArcGIS Blueprints
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist 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