python读取shp

sf = shapefile.Reader("res2_4m.shp")
records = sf.records()
print sf.fields
for record in records:
    print record[6]

 

转载于:https://www.cnblogs.com/Micang/p/8662873.html

你可能感兴趣的:(python读取shp)