In a similar way to OGR, you can apply geometrical methods, using the polygon from the earlier example:
In: print(p1.area)
print(p1.bounds)
print(p1.length)
print(p1.geom_type)
Out: 22.0
(1.0, 2.0, 5.0, 9.0)
19.59524158061724
Polygon
In a similar way to OGR, you can apply geometrical methods, using the polygon from the earlier example:
In: print(p1.area)
print(p1.bounds)
print(p1.length)
print(p1.geom_type)
Out: 22.0
(1.0, 2.0, 5.0, 9.0)
19.59524158061724
Polygon