Python 3.x 创建饼状地质画板
我希望在给定圆多边形、圆心和交点时创建一个饼图形状 圆心:Python 3.x 创建饼状地质画板,python-3.x,geopandas,Python 3.x,Geopandas,我希望在给定圆多边形、圆心和交点时创建一个饼图形状 圆心: from shapely.geometry import Point import geopandas as gpd gdf = gpd.GeoDataFrame({'col1': ['center'], 'geometry': [Point(-0.402436, 51.515403)]}) 圆多边形: crcl = gdf.geometry.buffer(0.18) 交叉点: gdf2 = gpd.GeoDataFrame({'
from shapely.geometry import Point
import geopandas as gpd
gdf = gpd.GeoDataFrame({'col1': ['center'], 'geometry': [Point(-0.402436, 51.515403)]})
圆多边形:
crcl = gdf.geometry.buffer(0.18)
交叉点:
gdf2 = gpd.GeoDataFrame({'col1': ['pnt1','pnt2'], 'geometry': [Point(-0.3257, 51.3528),Point(-0.2740, 51.6414)]})
我正在尝试创建以下饼状多边形:
crcl = gdf.geometry.buffer(0.18)
最好的方法是什么