Fixed #29633 -- Doc'd the geometry type for each model field.

This commit is contained in:
Danilo Bargen 2018-08-03 13:54:51 +02:00 committed by Tim Graham
parent 1a9cbf41a1
commit 2e06ff8e14
1 changed files with 18 additions and 0 deletions

View File

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