# Is there a bounding box query for point in geo\_shape? / How to check point and envelop overlap each other?

**URL:** <https://discuss.elastic.co/t/is-there-a-bounding-box-query-for-point-in-geo-shape-how-to-check-point-and-envelop-overlap-each-other/96075>\
**Category:** Elasticsearch\
**Created:** [August 7, 2017, 9:36am UTC](https://discuss.elastic.co/t/is-there-a-bounding-box-query-for-point-in-geo-shape-how-to-check-point-and-envelop-overlap-each-other/96075 "2017-08-07T09:36:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Red](https://avatars.discourse-cdn.com/v4/letter/r/59ef9b/32.png) [@Red](https://discuss.elastic.co/u/Red)\
**Post date:** [August 7, 2017, 9:36am UTC](https://discuss.elastic.co/t/is-there-a-bounding-box-query-for-point-in-geo-shape-how-to-check-point-and-envelop-overlap-each-other/96075/1 "2017-08-07T09:36:21Z")

</div>

how to check two point overlap?  
this is the point indexed.

```
"coordinates" : [106.486, 29.490]

```

here is my query :

```
"shape": {
                        "type": "envelope",
                        "coordinates" : [[106.4862, 29.4908], [106.4865, 29.4903]]
                    },
                    "relation": "INTERSECTS"

```

i treat point [106.486, 29.490] as a big rectangle, i want to find a high precision envelop in this big point.

there are two relations between big point and envelop:  
1 within/contains: big point overlap small envelop  
2 intersects/Overlaps/Crosses: envelop cross big point

i mean whether there is a bounding box query for point in geo\_shape?

---

<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 4, 2017, 9:36am UTC](https://discuss.elastic.co/t/is-there-a-bounding-box-query-for-point-in-geo-shape-how-to-check-point-and-envelop-overlap-each-other/96075/2 "2017-09-04T09:36:32Z")

</div>

Closed on September 4, 2017, 9:36am UTC

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