![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ArcGis
肉猫子打包
这个作者很懒,什么都没留下…
展开
-
基于Python的地理遥感图像批量处理----读取数据
用于读取批量结构重复的数据 读取shp文件指定属性的数据到excel 常用于 按年/月/日的shp文件数据 代码: import shapefile, os, openpyxl, time if __name__ == '__main__': # shp文件夹路径 shpMapFolder = r'Z:\1992-2018shape' excelFileMap = r'Z:\地类面积统计 - shape.xlsx' sheep = wb[wb.sheetnames[原创 2020-11-10 21:57:10 · 678 阅读 · 0 评论 -
基于Python的地理遥感图像批量处理----切割
实现LinkShp切割及转成PolyShp 调用shapefile库,创建读写LinkShp文件对象,创建写入PolyShp文件对象 baseLinkPoint = [[list(i) for i in rLinkShp.shape(0).points]] 得到LinkShp属性表的第一个要素 使用wPolyShp.poly(baseLinkPoint) 方法,将baseLinkPoint写入wPolyShp对象中 由于使用这种方法不会生成投影文件(.prj),所以我要额外复制的prj文件到里面 imp原创 2020-10-16 15:43:17 · 866 阅读 · 0 评论