pysal.lib.cg.get_bounding_box

pysal.lib.cg.get_bounding_box(items)[source]

Find bounding box for a list of geometries

Parameters:
items: list

PySAL shapes

Returns:
Rectangle

Examples

>>> bb = get_bounding_box([Point((-1, 5)), Rectangle(0, 6, 11, 12)])
>>> bb.left
-1.0
>>> bb.lower
5.0
>>> bb.right
11.0
>>> bb.upper
12.0