diff --git a/docs/ref/contrib/gis/model-api.txt b/docs/ref/contrib/gis/model-api.txt index 5b2c2e414b..ac14af6272 100644 --- a/docs/ref/contrib/gis/model-api.txt +++ b/docs/ref/contrib/gis/model-api.txt @@ -34,46 +34,64 @@ Features specification [#fnogc]_. There is no such standard for raster data. .. class:: GeometryField +The base class for geometry fields. + ``PointField`` -------------- .. class:: PointField +Stores a :class:`~django.contrib.gis.geos.Point`. + ``LineStringField`` ------------------- .. class:: LineStringField +Stores a :class:`~django.contrib.gis.geos.LineString`. + ``PolygonField`` ---------------- .. class:: PolygonField +Stores a :class:`~django.contrib.gis.geos.Polygon`. + ``MultiPointField`` ------------------- .. class:: MultiPointField +Stores a :class:`~django.contrib.gis.geos.MultiPoint`. + ``MultiLineStringField`` ------------------------ .. class:: MultiLineStringField +Stores a :class:`~django.contrib.gis.geos.MultiLineString`. + ``MultiPolygonField`` --------------------- .. class:: MultiPolygonField +Stores a :class:`~django.contrib.gis.geos.MultiPolygon`. + ``GeometryCollectionField`` --------------------------- .. class:: GeometryCollectionField +Stores a :class:`~django.contrib.gis.geos.GeometryCollection`. + ``RasterField`` --------------- .. class:: RasterField +Stores a :class:`~django.contrib.gis.gdal.GDALRaster`. + ``RasterField`` is currently only implemented for the PostGIS backend. Spatial Field Options