@@ -279,11 +279,20 @@ Apply a Location Filter
279279You can apply a filter to the map to only analyze a specific
280280range of points. To define a location filter:
281281
282- 1. Click the :guilabel:`Circle` button at the top-right
283- of the map.
284-
285- #. Click and drag on the map to draw a circle containing the area of
286- the map you want to analyze.
282+ 1. Depending on the shape of filter you want to create, click the
283+ :guilabel:`Circle` or :guilabel:`Polygon` button at
284+ the top-right of the map.
285+
286+ #. Draw filters around the area of the map
287+ you want to analyze. You may draw multiple filters on a single map.
288+
289+ - To draw a :guilabel:`Circle`, click to place the center point and
290+ drag to adjust the diameter of the circle.
291+
292+ - To draw a :guilabel:`Polygon`, click to place vertices. Each
293+ vertex is connected to the previous vertex by a line. To
294+ finish the polygon, close it by clicking on your first vertex. You
295+ must place at least 3 vertices to construct a polygon.
287296
288297#. Repeat this process as desired to include additional areas of
289298 the map in the schema analysis.
@@ -297,6 +306,14 @@ the exact coordinates used in the
297306:manual:`$geoWithin </reference/operator/query/geoWithin/>` query
298307applied to the schema analysis.
299308
309+ :guilabel:`Circle` filter queries use ``$geoWithin`` with the
310+ :manual:`$centerSphere </reference/operator/query/centerSphere/>`
311+ operator.
312+
313+ :guilabel:`Polygon` filter queries use ``$geoWithin`` with the
314+ :manual:`$geometry </reference/operator/query/geometry/>`
315+ operator set to ``type: "Polygon"``.
316+
300317If you specify multiple location filters, the query becomes
301318an :manual:`$or </reference/operator/query/or/>` query
302319with multiple ``$geoWithin`` operators.
@@ -312,11 +329,19 @@ looks like this:
312329 :figwidth: 575px
313330 :alt: Image showing map filter editing
314331
315- To move a filter
316- Click and drag the square in the center of the circle.
332+ Edit a :guilabel:`Circle`
333+ - To move a circle filter, click and drag the square in the center of
334+ the circle.
335+
336+ - To resize a circle filter, click and drag the square at the edge of
337+ the circle.
338+
339+ Edit a :guilabel:`Polygon`
340+ - To reposition a vertex of a polygon filter, click and drag the
341+ square on that vertex.
317342
318- To resize a filter
319- Click and drag the square at the edge of the circle .
343+ - To add a vertex to a polygon filter, click and drag the square at
344+ the center of an existing line .
320345
321346After modifying your filters, click :guilabel:`Save`.
322347
0 commit comments