Introduction
Developer Guide
Index
Create a 2D Polygon.
>>> polygon([(10, 10), (20, 20), (20, 10), (10, 10)], None) Geometry(POLYGON ((10 10, 20 20, 20 10, 10 10)), None)
coords – list of 2d x,y coordinate tuples
Geometry