class BaseSpatialField(Field):
Known subclasses: django.contrib.gis.db.models.fields.GeometryField
, django.contrib.gis.db.models.fields.RasterField
The Base GIS Field.
It's used as a base class for GeometryField and RasterField. Defines properties that are common to all GIS fields such as the characteristics of the spatial reference system of the field.
Method | __init__ |
The initialization function for base spatial fields. Takes the following as keyword arguments: |
Method | db_type |
Undocumented |
Method | deconstruct |
Undocumented |
Method | geodetic |
Return true if this field's SRID corresponds with a coordinate system that uses non-projected units (e.g., latitude/longitude). |
Method | get_db_prep_value |
Undocumented |
Method | get_placeholder |
Return the placeholder for the spatial column for the given value. |
Method | get_prep_value |
Undocumented |
Method | get_raster_prep_value |
Return a GDALRaster if conversion is successful, otherwise return None. |
Method | get_srid |
No summary |
Method | spheroid |
Undocumented |
Method | units |
Undocumented |
Method | units_name |
Undocumented |
Class Variable | description |
Undocumented |
Class Variable | empty_strings_allowed |
Undocumented |
Instance Variable | spatial_index |
Undocumented |
Instance Variable | srid |
Undocumented |
django.contrib.gis.db.models.fields.GeometryField
The initialization function for base spatial fields. Takes the following as keyword arguments:
django.contrib.gis.db.models.fields.RasterField
Undocumented
django.contrib.gis.db.models.fields.GeometryField
, django.contrib.gis.db.models.fields.RasterField
Undocumented