classgeoscript.geom.Bounds¶A two dimensional bounding box.

aspect¶Ratio of width to height for this bounds.

east¶The rightmost/eastmost oordinate of the bounds.

expand(other)¶Expands this bounds to include another.

north¶The topmost/northmost oordinate of the bounds.

proj¶The

Projectionof the bounds.Noneif the projection is unknown.

reproject(prj)¶Reprojects the bounding box.

prjis the destinationProjection

scale(factor)¶Scales the bounds by a specified factor.

factoris the scale factor. The scale factor must be greather than 0. A value greater than 1 will grow the bounds whereas a value of less than 1 will shrink the bounds.This method returns a new

Boundsobject.>>> b = Bounds(0, 0, 1, 1) >>> b.scale(1.5) (-0.25, -0.25, 1.25, 1.25)

south¶The bottomtmost/southmost oordinate of the bounds.

tile(res)¶Partitions the bounding box into a set of smaller bounding boxes.

The

resargument is the resolution to tile at and should be in the range (0,1].

toPolygon()¶Converts the bounding box to a

Polygon.

west¶The leftmost/westmost oordinate of the bounds.