![]()
Table of Contents
ArcGIS Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Extracting Real-Time Wildfire Data from ArcGIS Server with the ArcGIS REST API
Design
Creating the ArcGIS Desktop Python Toolbox
Working with tool parameters
Tool execution
Populating the feature class
Installing pip and the requests module
Requesting data from ArcGIS Server
Inserting data in a feature class with the ArcPy data access module
Summary
2. Tracking Elk Migration Patterns with GPS and ArcPy
Design
Creating migration patterns for Python toolbox
Creating the Import Collar Data tool
Reading data from the CSV file and writing to the feature class
Making the data frame and layer time-enabled
Coding the VisualizeMigration tool
Summary
3. Automating the Production of Map Books with Data Driven Pages and ArcPy
Design
Setting up the Data Frame
Creating the Grid Index Features
Enabling Data Driven Pages
Creating the Locator Map
Adding dynamic text to the layout
Exporting the map series with ArcPy mapping
Summary
4. Analyzing Crime Patterns with ArcGIS Desktop, ArcPy, and Plotly(Part 1)
Design
Creating the Import Records tool
Creating the Aggregate Crimes tool
Building the Create Map tool
Performing Spatial Statistical Analysis
Summary
5. Analyzing Crime Patterns with ArcGIS Desktop, ArcPy, and Plotly(Part 2)
Design
Getting to know Plotly
Creating the Neighborhood Bar Chart tool
Creating the Create Line Plot tool
Creating the output
Summary
6. Viewing and Querying Parcel Data
Design
Creating a user interface with wxPython
Creating the ArcGIS Python add-in
Summary
7. Using Python with the ArcGIS REST API and the GeoEnrichment Service for Retail Site Selection
Design
Creating the Census Block Group selection tool
Creating the Define Potential Stores tool
Creating the Enrich Potential Stores tool
Summary
8. Supporting Search and Rescue Operations with ArcPy, Python Add-Ins, and simplekml
Design
Creating the Last Known Position tool
Creating the Search Area Buffers tool
Creating the Search Sector tool
Creating the Convert to Google Earth tool
Summary
9. Real-Time Twitter Mapping with Tweepy, ArcPy, and the Twitter API
Design
Extracting Tweet geographic coordinates with tweepy
Scheduling the script
Creating the heatmap
Summary
10. Integrating Smartphone Photos with ArcGIS Desktop and ArcGIS Online
Design
Taking photos
Converting iPhone photos to a feature class
Creating a Web Map
Summary
A. Overview of Python Libraries for ArcGIS
Overview of Arcpy
The ArcPy classes
FeatureSets and Recordsets
Fields
The geometry
Graphing
General
The ArcPy functions
The data store
Describing the data
Environment variables
Fields
General
Geodatabase administration
Geometry
Getting and setting parameters
Licensing and installation
Listing data
Messaging and error handling
The progress dialog
Publishing
Raster
Tools and toolboxes
Overview of the ArcPy mapping module
ArcPy mapping classes
Mapping documents and associating dataset classes
The MapDocument class
DataFrame
The Layer class
The TableView object
Data Driven Pages classes
Classes related to managing time layers
The DataFrameTime class
The LayerTime class
Element classes associated with the layout view
The LegendElement class
The GraphicElement class
MapsurroundElement
PictureElement
TextElement
PDF document creation and editing
PDFDocument
Symbology
GraduatedColorsSymbology
GraduatedSymbolsSymbology
RasterClassifiedSymbology
UniqueValuesSymbology
Arcpy mapping functions
Exporting and printing maps
Managing map documents and layers
Creating lists
Managing layers and tables
Working with pdf Files
Working with ArcGIS Server services
Overview of the Arcpy data access module
ArcPy data access classes
Arcpy data access functions
List functions
NumPy Array conversion functions
An overview of the ArcGIS REST API
Basics of using the ArcGIS REST API
Esri services
Your own services
Service-related functionality
Utility functions
Managing your organization
Administering your server
Administering Portal
Administering ArcGIS Online hosted services
Conclusion
Index
![]()
Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: December 2015
Production reference: 1151215
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78528-622-3
www.packtpub.com
![]()
Author
Eric Pimpler
Reviewers
Chad Cooper
Eleza Boban Kollannur
Prasad Lingam
Shaik Shavali
Commissioning Editor
Akram Hussain
Acquisition Editor
Vinay Argekar
Content Development Editor
Siddhesh Salvi
Technical Editor
Vishal Mewada
Copy Editor
Stuti Srivastava
Project Coordinator
Nidhi Joshi
Proofreader
Safis Editing
Indexer
Priya Sane
Graphics
Kirk D'Penha
Production Coordinator
Shantanu N. Zagade
Cover Work ...