官术网_书友最值得收藏!

Introduction

It is not uncommon for your GIS data sources to move, migrate to a new data format, or be deleted. The result can be broken data sources in many map documents or layer files. These broken data sources can't be used until they're fixed, which can be an overwhelming process if the same changes need to be made across numerous map documents. You can automate the process of finding and fixing these data sources using arcpy.mapping, without ever having to open the affected map documents. Finding broken data sources is a simple process requiring the use of the ListBrokenDataSources() function, which returns a Python list of all broken data sources in a map document or layer file. Typically, this function is used as the first step in a script that iterates through the list and fixes the data source. Fixing broken data sources can be made in an inpidual data layer or across all layers in a common workspace.

主站蜘蛛池模板: 大同县| 城步| 远安县| 舟曲县| 徐州市| 恩施市| 大英县| 林周县| 西青区| 宁蒗| 乌鲁木齐县| 湖口县| 安庆市| 昭平县| 永城市| 呼和浩特市| 濉溪县| 江津市| 库车县| 外汇| 太谷县| 蓝田县| 孙吴县| 白城市| 平顺县| 襄樊市| 吴旗县| 瑞金市| 康马县| 新邵县| 锦州市| 柞水县| 洪湖市| 漳浦县| 西峡县| 邛崃市| 青田县| 东至县| 深泽县| 青田县| 东兴市|