# How to get Geometry(Binary Data) into Text format into Elastic search jdbc importer?

**URL:** <https://discuss.elastic.co/t/how-to-get-geometry-binary-data-into-text-format-into-elastic-search-jdbc-importer/37359>\
**Category:** Elasticsearch\
**Created:** [December 16, 2015, 2:21pm UTC](https://discuss.elastic.co/t/how-to-get-geometry-binary-data-into-text-format-into-elastic-search-jdbc-importer/37359 "2015-12-16T14:21:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajnikant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajnikant/32/6490_2.png) [@Rajnikant](https://discuss.elastic.co/u/Rajnikant)\
**Post date:** [December 16, 2015, 2:21pm UTC](https://discuss.elastic.co/t/how-to-get-geometry-binary-data-into-text-format-into-elastic-search-jdbc-importer/37359/1 "2015-12-16T14:21:33Z")

</div>

I have spatial data. Data is successfully put on elastic search using jdbc importer but the spatial data is stored on binary format. i want stored in text format. I user PostgreSQL for the Database. Can any one done this thing before?

---

<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:30pm UTC](https://discuss.elastic.co/t/how-to-get-geometry-binary-data-into-text-format-into-elastic-search-jdbc-importer/37359/2 "2017-07-05T23:30:35Z")

</div>


