# Geopoint lat and lot error

**URL:** <https://discuss.elastic.co/t/geopoint-lat-and-lot-error/125091>\
**Category:** Logstash\
**Created:** [March 22, 2018, 1:21am UTC](https://discuss.elastic.co/t/geopoint-lat-and-lot-error/125091 "2018-03-22T01:21:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![strong666](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@strong666](https://discuss.elastic.co/u/strong666)\
**Post date:** [March 22, 2018, 1:21am UTC](https://discuss.elastic.co/t/geopoint-lat-and-lot-error/125091/1 "2018-03-22T01:21:12Z")

</div>

I have a location in the database table fields, the format of the data is stored inside is a string, such as: 108.714931, 34.3380499, (the longitude and latitude), but I see documents, geo\_point was a string format, is the latitude and longitude, only when the format is an array, is the longitude.So now I use logstash to synchronize database data to ES, I will tell you wrong, what can I do to solve him?

---

<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:** [March 22, 2018, 5:27am UTC](https://discuss.elastic.co/t/geopoint-lat-and-lot-error/125091/2 "2018-03-22T05:27:27Z")

</div>

It's not clear what your question is sorry.

Have you seen the various formats as described here - [https://www.elastic.co/guide/en/elasticsearch/reference/6.2/geo-point.html](https://www.elastic.co/guide/en/elasticsearch/reference/6.2/geo-point.html)

---

<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:** [April 19, 2018, 5:28am UTC](https://discuss.elastic.co/t/geopoint-lat-and-lot-error/125091/3 "2018-04-19T05:28:04Z")

</div>

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