ArcGIS无法直接打开KML格式,需要使用 KML To Layer 工具( Conversion Tools -- KML To Layer)将其转为图层数据,但该工具只适用于少量数据的操作。处理较多数据时也可以右键该工具使用批处理(batch),但需要手动输入文件,还是比较麻烦。批处理还有一种更好的方法就是使用迭代器构造模型。
具体操作如下:
1.新建模型构造器,将 KML To Layer 工具拖入模型中

2.插入迭代器,选择文件

3.双击迭代文件,设置参数


4.使用连接线将迭代器与工具连接起来


5.双击KML To Layer 工具,设置参数

6.点击运行即可

网友评论