# Deriving country, city, state from geo\_point

**URL:** <https://discuss.elastic.co/t/deriving-country-city-state-from-geo-point/42555>\
**Category:** Elasticsearch\
**Created:** [February 24, 2016, 6:02am UTC](https://discuss.elastic.co/t/deriving-country-city-state-from-geo-point/42555 "2016-02-24T06:02:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Omer\_Uludag](https://avatars.discourse-cdn.com/v4/letter/o/b9e5f3/32.png) [@Omer\_Uludag](https://discuss.elastic.co/u/Omer_Uludag)\
**Post date:** [February 24, 2016, 6:02am UTC](https://discuss.elastic.co/t/deriving-country-city-state-from-geo-point/42555/1 "2016-02-24T06:02:37Z")

</div>

Hello together,

I searched for related information about Elasticsearch's capabilities for deriving country, city, state fields based on the geo\_point information, i.e. based on latitudes and longitudes values. Unfortunately, I did not found relevant information. Therefore I would like to ask here, whether it is possible to derive these columns based on latitudes and longitudes values or not.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [February 24, 2016, 6:31am UTC](https://discuss.elastic.co/t/deriving-country-city-state-from-geo-point/42555/2 "2016-02-24T06:31:19Z")

</div>

ES has no such functionality built in and I haven't heard of a plugin for this either, but it would totally be possible to e.g. write a Logstash plugin to enrich data like you describe.

---

<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:** [July 5, 2017, 11:14pm UTC](https://discuss.elastic.co/t/deriving-country-city-state-from-geo-point/42555/3 "2017-07-05T23:14:01Z")

</div>


