【发布时间】:2019-01-16 21:22:13
【问题描述】:
我计算了一些GeoDataFrame的质心
M["centroid"] = M.centroid
现在,我想将该列保存在 shp 文件中,然后这样做
M[["centroid","geometry"]].to_file("mfile.shp")
但司机抱怨我无法将Point 与我的几何图形一起保存。我想没关系,但我想知道使用geopandas
【问题讨论】:
标签: python pandas shapely geopandas