Book Image

ArcPy and ArcGIS: Geospatial Analysis with Python

Book Image

ArcPy and ArcGIS: Geospatial Analysis with Python

Overview of this book

Table of Contents (19 chapters)
ArcPy and ArcGIS – Geospatial Analysis with Python
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we covered the use of layer definition queries, data frame extents and scales, and layer source replacement to ease the production of maps. By using definition queries, the layers can be modified to new extents, making it easier to zoom into the layer extent and to set the scale of the data frame. The definition queries also limit which members of a layer are displayed within the data frame. Layer source replacement was used as a cartographic control, allowing us to pre-generate the style of a layer and adjust the data that it represented dynamically.

In the next chapter, we will combine the lessons from the last three chapters, allowing us to create a script tool that will run analysis and produce spreadsheets and maps from the analysis results.