使用
Python Shapefile Library
创建和编辑
Shapefile
文件
shapefile
是
GIS
中非常重要的一种数据类型,在
ArcGIS
中被称为要素类
(Feature Classes)
,主要
包括点
(point)
、线
(polyline)
和多边形
(polygon)
。
Python
脚本是
ArcGIS
官方推荐的脚本语言,通
过
Python
脚本能够很方便的调用
ArcGIS
中的各种工具和函数批量完成所需操作。
本文所介绍的
这个库
(Python Shapefile Library)
是一个
Python
库,
用于在
Python
脚本中对
ArcGIS
中的
Shapefile
文件
(.shp
,
.shx
,
.dbf
等格式
)
进行读写操作。
1
、
Python Shapefile Library
的下载与安装:
Python Shapefile Library