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 Search Sector tool


Efficient search and rescue operations will require that groups of personnel be assigned to specific areas. In this section, we'll create a tool that will allow Search and Rescue analysts to sketch polygon features that represent specific areas that will then be assigned to search groups. The following steps will help you to create Search Sector tool:

  1. Close ArcMap if required.

  2. In Windows Explorer, return to the working directory that stores the Python add-in for this project and open the addin_addin.py file from the Install folder in your Python development environment.

  3. Find the SearchSector class and remove all the methods with the exception of the __init__ and onLine() methods.

  4. In the __init__ method, set the self.shape property to LINE, as shown here, along with a cursor type:

    self.shape = "LINE"
    self.cursor = 3
  5. In the onLine() method, set the workspace environment variable:

    def onLine(self, line_geometry):
          arcpy.env.workspace = "C:\ArcGIS_Blueprint_Python...
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