@@ -28,7 +28,7 @@ GeoJSON Objects
2828~~~~~~~~~~~~~~~
2929
3030To calculate geometry over an Earth-like sphere, store your location
31- data as :doc :`GeoJSON objects </reference/ geojson>`.
31+ data as :ref :`GeoJSON objects <geospatial-indexes-store- geojson>`.
3232
3333.. include:: /includes/extracts/geojson-specification-geospatial.rst
3434
@@ -58,20 +58,20 @@ geospatial queries.
5858``2dsphere``
5959~~~~~~~~~~~~
6060
61- :doc :`2dsphere </core/ 2dsphere>` indexes support queries that calculate
61+ :ref :`2dsphere <2dsphere-index >` indexes support queries that calculate
6262:ref:`geometries on an earth-like sphere <geospatial-geometry>`.
6363
6464.. include:: /includes/create-2dsphere-index.rst
6565
6666For more information on the ``2dsphere`` index, see
67- :doc:`/core/ 2dsphere`.
67+ :ref:`< 2dsphere-index> `.
6868
6969.. _geo-2d:
7070
7171``2d``
7272~~~~~~
7373
74- :doc :`2d </core/2d >` indexes support queries that calculate
74+ :ref :`2d <2d-index >` indexes support queries that calculate
7575:ref:`geometries on a two-dimensional plane <geospatial-geometry>`.
7676Although the index can support :query:`$nearSphere` queries that
7777calculate on a sphere, if possible, use the :ref:`geo-2dsphere` index
@@ -128,32 +128,28 @@ MongoDB provides the following geospatial query operators:
128128 * - :query:`$geoIntersects`
129129
130130 - Selects geometries that intersect with a :term:`GeoJSON` geometry.
131- The :doc:`2dsphere </core/2dsphere>` index supports
132- :query:`$geoIntersects`.
131+ The ``2dsphere`` index supports :query:`$geoIntersects`.
133132
134133
135134 * - :query:`$geoWithin`
136135
137136 - Selects geometries within a bounding :ref:`GeoJSON geometry
138- <geospatial-indexes-store-geojson>`. The :doc:`2dsphere
139- </core/2dsphere>` and :doc:`2d </core/2d>` indexes support
140- :query:`$geoWithin`.
137+ <geospatial-indexes-store-geojson>`. The ``2dsphere`` and
138+ ``2d`` indexes support :query:`$geoWithin`.
141139
142140
143141 * - :query:`$near`
144142
145143 - Returns geospatial objects in proximity to a point.
146- Requires a geospatial index. The :doc:`2dsphere
147- </core/2dsphere>` and :doc:`2d </core/2d>` indexes support
148- :query:`$near`.
144+ Requires a geospatial index. The ``2dsphere`` and ``2d`` indexes
145+ support :query:`$near`.
149146
150147
151148 * - :query:`$nearSphere`
152149
153150 - Returns geospatial objects in proximity to a point on a sphere.
154- Requires a geospatial index. The :doc:`2dsphere
155- </core/2dsphere>` and :doc:`2d </core/2d>` indexes support
156- :query:`$nearSphere`.
151+ Requires a geospatial index. The ``2dsphere`` and ``2d`` indexes
152+ support :query:`$nearSphere`.
157153
158154
159155
@@ -162,8 +158,8 @@ For more details, including examples, see the individual reference page.
162158Geospatial Aggregation Stage
163159~~~~~~~~~~~~~~~~~~~~~~~~~~~~
164160
165- MongoDB provides the following geospatial :doc :`aggregation pipeline
166- stage </core/ aggregation-pipeline>`:
161+ MongoDB provides the following geospatial :ref :`aggregation pipeline
162+ stage <aggregation-pipeline>`:
167163
168164.. list-table::
169165 :header-rows: 1
0 commit comments