@@ -6,6 +6,26 @@ GeoDjango
6
6
7
7
Django MongoDB Backend supports :doc: `GeoDjango<django:ref/contrib/gis/index> `.
8
8
9
+ Each model field stores data as :doc: `GeoJSON objects <manual:reference/geojson >`.
10
+
11
+ * :class: `~django.contrib.gis.db.models.PointField `
12
+ * :class: `~django.contrib.gis.db.models.LineStringField `
13
+ * :class: `~django.contrib.gis.db.models.PolygonField `
14
+ * :class: `~django.contrib.gis.db.models.MultiPointField `
15
+ * :class: `~django.contrib.gis.db.models.MultiLineStringField `
16
+ * :class: `~django.contrib.gis.db.models.MultiPolygonField `
17
+ * :class: `~django.contrib.gis.db.models.GeometryCollectionField `
18
+
19
+ All fields have a :doc: `2dsphere index
20
+ <manual:core/indexes/index-types/geospatial/2dsphere>` created on them.
21
+
22
+ The :ref: `geospatial aggregation stage <geospatial-operators >` only supports one
23
+ operator: :doc: `$geoNear <manual:reference/operator/aggregation/geoNear >`. You can use
24
+ it :meth: `.raw_aggregate ` queries.
25
+
26
+ The :ref: `geospatial query operators <manual:geospatial-query-operators >` aren't
27
+ supported.
28
+
9
29
Configuration
10
30
=============
11
31
@@ -20,7 +40,7 @@ Limitations
20
40
21
41
- MongoDB doesn't support any spatial reference system identifiers
22
42
(:attr: `BaseSpatialField.srid <django.contrib.gis.db.models.BaseSpatialField.srid> `)
23
- besides 4326 (WGS84) .
43
+ besides ` 4326 (WGS84) < https://spatialreference.org/ref/epsg/4326/ >`_ .
24
44
- None of the :doc: `GIS QuerySet APIs <django:ref/contrib/gis/geoquerysets >` (lookups,
25
45
aggregates, and database functions) are supported.
26
46
- :class: `~django.contrib.gis.db.models.RasterField ` isn't supported.
0 commit comments