Class GeometryField
 The base Geometry field -- maps to the OpenGIS Specification Geometry type. 
Declaration
source linkDocumentation
Methods
▶ def __init__(self, verbose_name=None, dim=2, geography=False, *, ...) override The initialization function for geometry fields. In addition to the parameters from BaseSpatialField, it takes the following as keyword arguments: 
 def __init__( 
self,
verbose_name=None,
dim=2,
geography=False,
*,
extent=(-180.0, -90.0, 180.0, 90.0),
tolerance=0.05,
**kwargs,
 ) 
 This method overrides django.contrib.gis.db.models.fields.BaseSpatialField.__init__.
dim:
 The number of dimensions for this geometry.  Defaults to 2.
extent:
 Customize the extent, in a 4-tuple of WGS 84 coordinates, for the
 geometry field entry in the `USER_SDO_GEOM_METADATA` table.  Defaults
 to (-180.0, -90.0, 180.0, 90.0).
tolerance:
 Define the tolerance, in meters, to use for the geometry field
 entry in the `USER_SDO_GEOM_METADATA` table.  Defaults to 0.05.
▷ def select_format(self, compiler, sql, params)  Return the selection format string, depending on the requirements of the spatial backend. For example, Oracle and MySQL require custom selection formats in order to retrieve geometries in OGC WKB.