# Populate geo\_shape values with ingest pipeline using lat/lon column values

**URL:** <https://discuss.elastic.co/t/populate-geo-shape-values-with-ingest-pipeline-using-lat-lon-column-values/258998>\
**Category:** Elasticsearch\
**Created:** [December 17, 2020, 1:20pm UTC](https://discuss.elastic.co/t/populate-geo-shape-values-with-ingest-pipeline-using-lat-lon-column-values/258998 "2020-12-17T13:20:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vmanohar1](https://avatars.discourse-cdn.com/v4/letter/v/e56c9b/32.png) [@vmanohar1](https://discuss.elastic.co/u/vmanohar1)\
**Post date:** [December 17, 2020, 1:20pm UTC](https://discuss.elastic.co/t/populate-geo-shape-values-with-ingest-pipeline-using-lat-lon-column-values/258998/1 "2020-12-17T13:20:26Z")

</div>

If input data has lat/lon columns, is it possible to populate geo\_shape value using lat/long columns with ingest pipeline?

Imagine original index has only lat/lon column mappings and data is populated.

Now using reindex we can always create another index using this old index. But I want to add geo\_shape data this time in the new index, using reindex option. Is there an example for doing this?

Thank you.

---

<div class="post-metadata">

**Author:** ![vmanohar1](https://avatars.discourse-cdn.com/v4/letter/v/e56c9b/32.png) [@vmanohar1](https://discuss.elastic.co/u/vmanohar1)\
**Post date:** [December 17, 2020, 4:51pm UTC](https://discuss.elastic.co/t/populate-geo-shape-values-with-ingest-pipeline-using-lat-lon-column-values/258998/2 "2020-12-17T16:51:34Z")

</div>

I was able to do it!

---

<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:** [January 14, 2021, 4:51pm UTC](https://discuss.elastic.co/t/populate-geo-shape-values-with-ingest-pipeline-using-lat-lon-column-values/258998/3 "2021-01-14T16:51:35Z")

</div>

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