class documentation
Geo-referenced geometry.
Method | area |
Computes the area of the geometry. |
Method | bounds |
Returns a Bounds object that bounds this shape. |
Method | centroid |
Returns a centroid as a Point shape. |
Method | contains |
Returns True if this shape contains the other. |
Method | covered |
Returns True if this shape is covered by the other. |
Method | covers |
Returns True if this shape covers the other. |
Method | crosses |
Returns True if this shape crosses the other. |
Method | disjoint |
Returns True if this shape does not intersect with the other. |
Method | equals |
Returns True if this shape is equal to the other. |
Method | intersection |
Computes an intersection of this shape and other shapes. |
Method | intersects |
Returns True if this shape intersects with the other. |
Method | is |
Returns True if this shape is empty. |
Method | is |
Returns True if this shape is a ring. |
Method | is |
Returns True if this shape is 'simple'. |
Method | is |
Returns True if this shape is valid. |
Method | overlaps |
Returns True if this shape overlaps the other. |
Method | to |
Returns an EWKB representation of this shape as a binary string. |
Method | to |
Returns an EWKB representation of this shape as a hex string. |
Method | to |
Returns an EWKT representation of this shape. |
Method | to |
Returns a GeoJSON representation of this shape. |
Method | to |
Converts a singly-geometry shape to a multi-geometry one. |
Method | to |
Returns a GeoJSON representation of this shape. |
Method | to |
Converts a geometry to another type. |
Method | to |
Returns a WKB representation of this shape as a binary string. |
Method | to |
Returns a WKB representation of this shape as a hex string. |
Method | to |
Returns a WKT representation of this shape. |
Method | tolerance |
Builds a buffer polygon around the shape. |
Method | touches |
Returns True if this shape touches the other. |
Method | transformed |
Returns this shape transformed to another CRS. |
Method | union |
Computes a union of this shape and other shapes. |
Method | within |
Returns True if this shape is within the other. |
Class Variable | crs |
CRS of this shape. |
Class Variable | type |
Geometry type. |
Class Variable | x |
X-coordinate for Point geometries, None otherwise. |
Class Variable | y |
Y-coordinate for Point geometries, None otherwise. |