Here is the canonical example of building an approximately circular patch by buffering a point.
这里是通过缓冲一个点来建立一个近似圆形的典型例子。
>>> from shapely.geometry import Point
>>> patch = Point(0.0, 0.0).buffer(10.0)
>>> patch
<shapely.geometry.polygon.Polygon object at 0x...>
>>> patch.area
313.65484905459385
See the manual for more examples and guidance.
更多的示例和指南,请参阅手册。