bounding box
This block is part of the query group and was last modified in core v13.0.8.
Field Selection Required
This block relies on a field that you select to perform its data actions. You must manually select the field you want to use in your flow using the field selector modal. To access the modal, click the white button on the block.
Connection Type
This block connects from a query type block. Make sure to connect this block to the appropriate left-hand side connection.
Parent Requirements
This block requires specific parent elements: query_bool_filter, query_first_defined. Ensure this block is placed within the appropriate parent context.
bounding box v13.0.8 Matches geo_point values that intersect a bounding box
- tl lat required
numbertop left lat coords • Hidden when other fields are filled
- tl lon required
numbertop left long coord • Hidden when other fields are filled
- top left location required
v13.0.8geo_pointThe top left bounding box location • Hidden when other fields are filled
- br lat required
numberbottom right lat coords • Hidden when other fields are filled
- br lon required
numberbottom right long coord • Hidden when other fields are filled
- bottom right location required
v13.0.8geo_pointThe bottom right bounding box location • Hidden when other fields are filled
- query
query
Emits a geo_bounding_box clause on the bound geo_point field, matching documents inside the rectangle between the top-left and bottom-right corners. Corners come from the tl_geo_point/br_geo_point pins when wired, otherwise from the tl_lat/tl_lon/br_lat/br_lon pins; every coordinate is coerced to a number (numeric strings parse, anything non-numeric or unwired becomes 0).
A typical wiring for bounding box: number feeds the tl_lat pin; number feeds the tl_lon pin; from city feeds the tl_geo_point pin; number feeds the br_lat pin; number feeds the br_lon pin; from city feeds the br_geo_point pin; the query out pin feeds cast to object.
Version history
Introduced in v13.0.8.
Back to
query Return to the main group to view all sub-groups Back to query: geo Return to the group to view all blocks within this group 