Skip to content

Commit e818b43

Browse files
DOCSP-17577 moved geospatial figure (#138)
* moved image after code snippet
1 parent 0f2fc61 commit e818b43

File tree

1 file changed

+7
-5
lines changed
  • source/fundamentals/crud/read-operations

1 file changed

+7
-5
lines changed

source/fundamentals/crud/read-operations/geo.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,7 @@ To search for geospatial data within a specified shape use the ``geoWithin()``
267267
static utility method of the ``Filters`` builder class. The ``geoWithin()``
268268
method constructs a query with the ``$geoWithin`` query operator.
269269

270-
.. figure:: /includes/figures/geo_geometry.png
271-
:alt: Area of Long Island we are searching for movie theaters
272-
273-
The following example searches for movie theaters in the section of Long Island
274-
described in the figure above.
270+
The following example searches for movie theaters in a section of Long Island.
275271

276272
.. _example_range_query:
277273

@@ -292,6 +288,12 @@ The output of the code snippet should look something like this:
292288
{"location": {"address": {"city": "Mount Vernon"}}}
293289
{"location": {"address": {"city": "Massapequa"}}}
294290

291+
The following figure shows the polygon defined by the
292+
``longIslandTriangle`` variable and dots representing the locations of
293+
the movie theaters returned by our query.
294+
295+
.. figure:: /includes/figures/geo_geometry.png
296+
:alt: Area of Long Island we are searching for movie theaters
295297

296298
For more information on the ``$geoWithin`` operator, see the
297299
:manual:`reference documentation for $geoWithin </reference/operator/query/geoWithin/>`

0 commit comments

Comments
 (0)