Return a the smallest extent that contains this extent and the provided extent.
Return a the smallest extent that contains this extent and the provided extent. This is provides a union of the two extents.
Orders two extents by their (geographically) lower-left corner.
Orders two extents by their (geographically) lower-left corner. The extent that is further south (or west in the case of a tie) comes first.
If the lower-left corners are the same, the upper-right corners are compared. This is mostly to assure that 0 is only returned when the extents are equal.
Return type signals:
-1 this extent comes first 0 the extents have the same lower-left corner 1 the other extent comes first
Determine whether the given point lies within the extent.
Determine whether the given point lies within the extent. The boundary is excluded, so that Extent(a, b, c, d) does not contain (a, b).
Return NE corner (xmax, ymax) as tuple.
Return SW corner (xmin, ymin) as tuple.
An Extent represents a rectangular region of geographic space (with a particular projection). It is expressed in map coordinates. It is not concerned with details of e.g. cell sizes (for that, see GeoAttrs).