Book Image

Programming ArcGIS with Python Cookbook, Second Edition

By : Donald Eric Pimpler, Eric Pimpler
Book Image

Programming ArcGIS with Python Cookbook, Second Edition

By: Donald Eric Pimpler, Eric Pimpler

Overview of this book

Table of Contents (22 chapters)
Programming ArcGIS with Python Cookbook Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 3. Finding and Fixing Broken Data Links

In this chapter, we will cover the following recipes:

  • Finding broken data sources in your map document and layer files

  • Fixing broken data sources with MapDocument.findAndReplaceWorkspacePaths()

  • Fixing broken data sources with MapDocument.replaceWorkspaces()

  • Fixing individual layer and table objects with replaceDataSource()

  • Finding broken data sources in all map documents in a folder