# How to create a geo\_point in a scripted field

**URL:** <https://discuss.elastic.co/t/how-to-create-a-geo-point-in-a-scripted-field/2611>\
**Category:** Kibana\
**Created:** [June 13, 2015, 1:37am UTC](https://discuss.elastic.co/t/how-to-create-a-geo-point-in-a-scripted-field/2611 "2015-06-13T01:37:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![avramw](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@avramw](https://discuss.elastic.co/u/avramw)\
**Post date:** [June 13, 2015, 1:37am UTC](https://discuss.elastic.co/t/how-to-create-a-geo-point-in-a-scripted-field/2611/1 "2015-06-13T01:37:53Z")

</div>

Hello all,

I have a field called lat and a field called long in my data. Is there away to create a Scripted Field in Kibana that is a geo\_point out of these two fields?

Thanks!

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 13, 2015, 9:11pm UTC](https://discuss.elastic.co/t/how-to-create-a-geo-point-in-a-scripted-field/2611/2 "2015-06-13T21:11:58Z")

</div>

It probably won't work anyway as KB needs to see that field as geopoint mapped.

---

<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 6, 2017, 2:18pm UTC](https://discuss.elastic.co/t/how-to-create-a-geo-point-in-a-scripted-field/2611/3 "2017-07-06T14:18:11Z")

</div>


