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

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.

主站蜘蛛池模板: 鄂托克前旗| 丹寨县| 西丰县| 石棉县| 三门峡市| 临潭县| 施秉县| 永兴县| 宜兰县| 色达县| 井冈山市| 通河县| 阜康市| 江油市| 泰和县| 元朗区| 霍林郭勒市| 都匀市| 连山| 舞阳县| 两当县| 扬中市| 万源市| 修武县| 上思县| 石屏县| 陕西省| 阿拉善右旗| 常山县| 绥棱县| 井冈山市| 三门县| 河津市| 竹溪县| 临邑县| 阜城县| 晋江市| 福清市| 雷山县| 澄江县| 兴文县|