# Bounding box query with geohashes

**URL:** <https://discuss.elastic.co/t/bounding-box-query-with-geohashes/96729>\
**Category:** Elasticsearch\
**Created:** [August 11, 2017, 8:28am UTC](https://discuss.elastic.co/t/bounding-box-query-with-geohashes/96729 "2017-08-11T08:28:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tombaugh](https://avatars.discourse-cdn.com/v4/letter/t/aca169/32.png) [@tombaugh](https://discuss.elastic.co/u/tombaugh)\
**Post date:** [August 11, 2017, 8:28am UTC](https://discuss.elastic.co/t/bounding-box-query-with-geohashes/96729/1 "2017-08-11T08:28:59Z")

</div>

Given the situation below, would a bounding box query with geohashes `u0b` and `u0p` return all points within the orange or the within the yellow rectangle?

 ![geohashes](https://us1.discourse-cdn.com/elastic/original/3X/9/b/9b3ae8d46cabff11ea04d999371a8d3a83b8c345.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 8, 2017, 8:29am UTC](https://discuss.elastic.co/t/bounding-box-query-with-geohashes/96729/2 "2017-09-08T08:29:13Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
