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_pointfield you wish to aggregate.wrap_longitude
(Optional, boolean, default:true) Allow the box to wrap the antimeridian.