gis.geos.GEOSGeometry.envelope

GEOSGeometry.envelope Returns a Polygon that represents the bounding envelope of this geometry. Note that it can also return a Point if the input geometry is a point.

gis.geos.GEOSGeometry.empty

GEOSGeometry.empty Returns whether or not the set of points in the geometry is empty.

gis.geos.GEOSGeometry.distance()

GEOSGeometry.distance(geom) Returns the distance between the closest points on this geometry and the given geom (another GEOSGeometry object). Note GEOS distance calculations are linear – in other words, GEOS does not perform a spherical calculation even if the SRID specifies a geographic coordinate system.

gis.geos.GEOSGeometry.disjoint()

GEOSGeometry.disjoint(other) Returns True if the DE-9IM intersection matrix for the two geometries is FF*FF****.

gis.geos.GEOSGeometry.dims

GEOSGeometry.dims Returns the dimension of the geometry: 0 for Points and MultiPoints 1 for LineStrings and MultiLineStrings 2 for Polygons and MultiPolygons -1 for empty GeometryCollections the maximum dimension of its elements for non-empty GeometryCollections

gis.geos.GEOSGeometry.difference()

GEOSGeometry.difference(other) Returns a GEOSGeometry representing the points making up this geometry that do not make up other.

gis.geos.GEOSGeometry.crosses()

GEOSGeometry.crosses(other) Returns True if the DE-9IM intersection matrix for the two Geometries is T*T****** (for a point and a curve,a point and an area or a line and an area) 0******** (for two curves).

gis.geos.GEOSGeometry.covers()

GEOSGeometry.covers(other) New in Django 1.10. Returns True if this geometry covers the specified geometry. The covers predicate has the following equivalent definitions: Every point of the other geometry is a point of this geometry. The DE-9IM Intersection Matrix for the two geometries is T*****FF*, *T****FF*, ***T**FF*, or ****T*FF*. If either geometry is empty, returns False. This predicate is similar to GEOSGeometry.contains(), but is more inclusive (i.e. returns True for more cases)

gis.geos.GEOSGeometry.coords

GEOSGeometry.coords Returns the coordinates of the geometry as a tuple.

gis.geos.GEOSGeometry.convex_hull

GEOSGeometry.convex_hull Returns the smallest Polygon that contains all the points in the geometry.