# Geojson map does not load to elastic index

**URL:** <https://discuss.elastic.co/t/geojson-map-does-not-load-to-elastic-index/276512>\
**Category:** Kibana\
**Tags:** maps\
**Created:** [June 21, 2021, 9:26am UTC](https://discuss.elastic.co/t/geojson-map-does-not-load-to-elastic-index/276512 "2021-06-21T09:26:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roy\_Levy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roy_levy/32/61613_2.png) [@Roy\_Levy](https://discuss.elastic.co/u/Roy_Levy)\
**Post date:** [June 21, 2021, 9:26am UTC](https://discuss.elastic.co/t/geojson-map-does-not-load-to-elastic-index/276512/1 "2021-06-21T09:26:54Z")

</div>

Hey,

I'm trying to load a geojson map to an index through the use of 'Maps' in Kibana, and it works for me in one cluster but does not work in the other.  
The loading of the file to the index does not come to an end and the index is created but stays empty.

Is there any reason for this behavior?

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [June 22, 2021, 10:32am UTC](https://discuss.elastic.co/t/geojson-map-does-not-load-to-elastic-index/276512/2 "2021-06-22T10:32:33Z")

</div>

Hi @Roy_Levy sorry for the inconvenience.

Are both clusters in the same version? Which one? [We've seen this behaviour](https://github.com/elastic/kibana/issues/61794) but it really depends on the stack version.

---

<div class="post-metadata">

**Author:** ![Roy\_Levy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roy_levy/32/61613_2.png) [@Roy\_Levy](https://discuss.elastic.co/u/Roy_Levy)\
**Post date:** [June 22, 2021, 11:47am UTC](https://discuss.elastic.co/t/geojson-map-does-not-load-to-elastic-index/276512/3 "2021-06-22T11:47:55Z")

</div>

Hey @jsanz ,  
It works on 7.6.2 but does not work on elastic cloud version 7.9.3 .

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [June 22, 2021, 12:17pm UTC](https://discuss.elastic.co/t/geojson-map-does-not-load-to-elastic-index/276512/4 "2021-06-22T12:17:10Z")

</div>

I'm afraid those are old versions and the recommended path would be to upgrade.

If that's not an option you can check from the issue I linked that you can:

- Try to see if your GeoJSON file can be improved/fixed using the [`mapshaper`](https://github.com/mbloch/mapshaper/) command line tool so Kibana Maps is able to index it.
- Use a different uploading tool instead of Kibana Maps like `ogr2ogr` as described in [this blogpost](https://www.elastic.co/blog/how-to-ingest-geospatial-data-into-elasticsearch-with-gdal). A similar process also described in [this other post](https://discuss.elastic.co/t/dec-6th-2020-en-uploading-data-from-osm-into-elasticsearch/255059).

Hope it helps

---

<div class="post-metadata">

**Author:** ![Roy\_Levy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roy_levy/32/61613_2.png) [@Roy\_Levy](https://discuss.elastic.co/u/Roy_Levy)\
**Post date:** [June 22, 2021, 2:12pm UTC](https://discuss.elastic.co/t/geojson-map-does-not-load-to-elastic-index/276512/5 "2021-06-22T14:12:03Z")

</div>

Thanks for the information, as for now I can't upgrade the stack version, but it's very unusual because the feature did work excellent on the older version (and with the same geojson files).

I prefer doing it in the same method with the Maps feature, so it'll be the same exactly in both clusters. So for now I'll wait with it until future upgrade/fix.

---

<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 20, 2021, 2:13pm UTC](https://discuss.elastic.co/t/geojson-map-does-not-load-to-elastic-index/276512/6 "2021-07-20T14:13:03Z")

</div>

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