# Find docs near geoshape?

**URL:** <https://discuss.elastic.co/t/find-docs-near-geoshape/143395>\
**Category:** Elasticsearch\
**Created:** [August 7, 2018, 8:00pm UTC](https://discuss.elastic.co/t/find-docs-near-geoshape/143395 "2018-08-07T20:00:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![whiteminis](https://avatars.discourse-cdn.com/v4/letter/w/71e660/32.png) [@whiteminis](https://discuss.elastic.co/u/whiteminis)\
**Post date:** [August 7, 2018, 8:00pm UTC](https://discuss.elastic.co/t/find-docs-near-geoshape/143395/1 "2018-08-07T20:00:35Z")

</div>

I am currently using ES 6.2.  
Is there a way to find all the docs near indexed geo-shape?  
I know I can use geo-distance for points, but I have MultiPolygon, Polygon and LineString and I only see the options like within and intersect.  
I'd like to find all docs in X km range from the shape.  
How can I do this?  
Is there a way to filter in a range above the given shape?

ex\> Find all docs near (10km range) a road/river (LineStrings)  
ex\> Find all docs near (10km range) a lake (Polygon/Multipolygon)

---

<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, 2018, 8:00pm UTC](https://discuss.elastic.co/t/find-docs-near-geoshape/143395/2 "2018-09-04T20:00:38Z")

</div>

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