Python使用pyshp库读取shapefile信息

通过pyshp库,可以读写Shapefile文件,查询相关信息,github地址为https://github.com/GeospatialPython/pyshp#reading-shapefile-meta-datannnimport shapefile # 使用pyshp库nnfile = shapefile.Reader(“data\\市界.shp”)nshapes = file.sha…