我正在尝试绘制一个带有点的 geojson 圆...但它不会合并到其中的几何部分

I am trying to plot a geojson circle with a point in it... But it does not merge in the geometries part in it

geo_json = [ 
    {
        "type": "Feature",
        "geometry": {
            "type": "Point",
            "coordinates": [lon, lat] 
        },
        "properties": {}
    }
]

我希望圆坐标的格式与上面的代码相同..

import geojson
import shapely
from shapely.geometry import Point

center = Point(lat,long) 
circle = center.buffer(0.3)  
poly = geojson.dumps(shapely.geometry.mapping(circle))

feature_col = FeatureCollection([geo_json,circle])
print(poly)

但我不可能对圆形多边形执行此操作。有没有其他方法可以做到这一点?

如果我理解正确的话:

import shapely, geojson
lat = long = 0
center = shapely.geometry.Point([lat, long])
poly = list(center.buffer(0.3).exterior.coords)
json_points = [geojson.Feature(geometry=shapely.geometry.Point(p)) for p in poly_points]
json_points = geojson.FeatureCollection(json_points)

由于 shapely.geometry.Point 和 geojson.Point 都存在,我会避免简单地导入任何一个 "Point",即使这需要一些繁琐的调用。