# Spark string to elasticsearch geo\_point

**URL:** <https://discuss.elastic.co/t/spark-string-to-elasticsearch-geo-point/207902>\
**Category:** Elasticsearch\
**Tags:** es-hadoop\
**Created:** [November 14, 2019, 1:28pm UTC](https://discuss.elastic.co/t/spark-string-to-elasticsearch-geo-point/207902 "2019-11-14T13:28:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ParthM](https://avatars.discourse-cdn.com/v4/letter/p/59ef9b/32.png) [@ParthM](https://discuss.elastic.co/u/ParthM)\
**Post date:** [November 14, 2019, 1:28pm UTC](https://discuss.elastic.co/t/spark-string-to-elasticsearch-geo-point/207902/1 "2019-11-14T13:28:41Z")

</div>

Hello,  
I am new to ES so I don't know much about it. I have a spark streaming DataFrame which has a field "location" and it has the latitude and longitude of a place and I want to show the data into kibana Map. The issue is I don't know how. I've tried creating index first and then dump data into the index gives me error of rejected mapping. Tell me how to do so....

---

<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:** [December 12, 2019, 1:28pm UTC](https://discuss.elastic.co/t/spark-string-to-elasticsearch-geo-point/207902/2 "2019-12-12T13:28:41Z")

</div>

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