# Changing lat/lon from float to geo\_point

**URL:** <https://discuss.elastic.co/t/changing-lat-lon-from-float-to-geo-point/116067>\
**Category:** Elasticsearch\
**Created:** [January 18, 2018, 1:43pm UTC](https://discuss.elastic.co/t/changing-lat-lon-from-float-to-geo-point/116067 "2018-01-18T13:43:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 18, 2018, 1:56pm UTC](https://discuss.elastic.co/t/changing-lat-lon-from-float-to-geo-point/116067/2 "2018-01-18T13:56:38Z")

</div>

Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

It depends on how you send it I guess. Read [https://www.elastic.co/guide/en/elasticsearch/reference/6.1/indices-put-mapping.html](https://www.elastic.co/guide/en/elasticsearch/reference/6.1/indices-put-mapping.html) for more information.

---

_[View the full topic](https://discuss.elastic.co/t/changing-lat-lon-from-float-to-geo-point/116067)._
