O'Reilly logo

ArcGIS Blueprints by Eric Pimpler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Coding the VisualizeMigration tool

In this final section, you'll create a new tool in the Migration Patterns toolbox that can be used to visualize elk migration patterns in one-week increments that have beginning and end dates, as specified through the tool. The tool will also export maps in the PDF format for each week:

  1. Import the arcpy.mapping and datetime modules that will be used in this class:
    import arcpy
    import arcpy.mapping as mapping
    import csv
    import os
    import datetime
  2. Create a new tool called VisualizeMigration by copying and pasting the existing ImportCollarData code and then renaming the class to VisualizeMigration.
  3. In the VisualizeMIgration class, set the label and description properties, as shown in the following code through the

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required