Geo bounds aggregation

Geo bounds aggregation #

A metrics aggregation computing the bounding box (top-left / bottom-right corners) of all geo_point values.

Example #

Returns the bounds wrapping all 15 places — the box you would fit a map viewport to.

Parameters for geo_bounds #

  • field
    (Required, string) geo_point field you wish to aggregate.
  • wrap_longitude
    (Optional, boolean, default: true) Allow the box to wrap the antimeridian.
Calendar September 26, 2026
Edit Edit this page