python读取shp

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

 

posted on 2018-03-28 11:33  米仓山下  阅读(1060)  评论(0)    收藏  举报

导航