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

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.

主站蜘蛛池模板: 雷州市| 大余县| 广元市| 高青县| 图木舒克市| 城口县| 宁夏| 玉田县| 洛扎县| 漳州市| 龙山县| 定安县| 贵阳市| 台山市| 壤塘县| 马尔康县| 松滋市| 阿巴嘎旗| 成安县| 吴忠市| 和田县| 台湾省| 金溪县| 宝应县| 马山县| 长丰县| 建瓯市| 桓台县| 梁河县| 彰化县| 城固县| 寿阳县| 阿尔山市| 涡阳县| 合山市| 浏阳市| 乌审旗| 盖州市| 留坝县| 田阳县| 哈巴河县|