# How to imported file GEOJSON to kibana

**URL:** <https://discuss.elastic.co/t/how-to-imported-file-geojson-to-kibana/309456>\
**Category:** Kibana\
**Created:** [July 12, 2022, 7:00pm UTC](https://discuss.elastic.co/t/how-to-imported-file-geojson-to-kibana/309456 "2022-07-12T19:00:33Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Khadija\_BOUDINAR1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/khadija_boudinar1/32/106922_2.png) [@Khadija\_BOUDINAR1](https://discuss.elastic.co/u/Khadija_BOUDINAR1)\
**Post date:** [July 12, 2022, 7:00pm UTC](https://discuss.elastic.co/t/how-to-imported-file-geojson-to-kibana/309456/1 "2022-07-12T19:00:33Z")

</div>

hi all,  
i have created new layers in kibana maps and i upload my file geojson  
but I can't visualize the file  
have you any suggestion please

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [July 12, 2022, 7:21pm UTC](https://discuss.elastic.co/t/how-to-imported-file-geojson-to-kibana/309456/2 "2022-07-12T19:21:22Z")

</div>

Hi @Khadija_BOUDINAR1

A couple questions , we gonna need a bit more to help.

What version are you on?  
Are you running Self Managed or Elastic Cloud?  
(I ask because there was a specific bug on a couple versions)

How did you upload the file?  
Did the layer show when you tried to add it to the map?  
If so was it just the points / features that did not show?

Did you upload straight from the map?  
Were there any Errors?

 ![Screen Shot 2022-07-12 at 12.24.13 PM](https://us1.discourse-cdn.com/elastic/original/3X/5/3/53cc2f0e7883ddbf0e4191763e71c4bd5bda33f2.jpeg)

---

<div class="post-metadata">

**Author:** ![Khadija\_BOUDINAR1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/khadija_boudinar1/32/106922_2.png) [@Khadija\_BOUDINAR1](https://discuss.elastic.co/u/Khadija_BOUDINAR1)\
**Post date:** [July 12, 2022, 7:53pm UTC](https://discuss.elastic.co/t/how-to-imported-file-geojson-to-kibana/309456/3 "2022-07-12T19:53:44Z")

</div>

exactly, when I upload my polygon file straight from the maps this error is posted :

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/0/c02b5ed074457c3b8ec1aeda3029a7c210a035c1.jpeg)  
i used Self Managed version 8.1.0

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [July 12, 2022, 7:56pm UTC](https://discuss.elastic.co/t/how-to-imported-file-geojson-to-kibana/309456/4 "2022-07-12T19:56:58Z")

</div>

Ha!! That is not a very helpful error message... 🙂

Assume you have cleaned up / deleted the index and tried again..

I think that means that your geojson is not "compliant / compatible"

I have seem things like this when the field is an Array of features instead of list of individual features...

can you provide a couple of the features? A small set of the data?

---

<div class="post-metadata">

**Author:** ![Khadija\_BOUDINAR1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/khadija_boudinar1/32/106922_2.png) [@Khadija\_BOUDINAR1](https://discuss.elastic.co/u/Khadija_BOUDINAR1)\
**Post date:** [July 12, 2022, 8:00pm UTC](https://discuss.elastic.co/t/how-to-imported-file-geojson-to-kibana/309456/5 "2022-07-12T20:00:26Z")

</div>

I exported my file in geojson format with the QGIS tool.  
would you like me to send you the file?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [July 12, 2022, 8:04pm UTC](https://discuss.elastic.co/t/how-to-imported-file-geojson-to-kibana/309456/6 "2022-07-12T20:04:15Z")

</div>

> [@Khadija\_BOUDINAR1](#):
>
> I exported my file in geojson format with the QGIS tool.  
> would you like me to send you the file?

Well no, as a this is a public forum please do not directly send data files to anyone, especially anything with personal or company confidential information.

If your file can be publicly shared then post a link to pastebin or perhaps a small sanitized subset can be shared here in the forum.

Assumed you used this?

 ![Screen Shot 2022-07-12 at 1.11.40 PM](https://us1.discourse-cdn.com/elastic/original/3X/7/f/7fdc23605580fdfe5fe3481df1115597defb4fbc.png)

---

<div class="post-metadata">

**Author:** ![Khadija\_BOUDINAR1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/khadija_boudinar1/32/106922_2.png) [@Khadija\_BOUDINAR1](https://discuss.elastic.co/u/Khadija_BOUDINAR1)\
**Post date:** [July 12, 2022, 8:18pm UTC](https://discuss.elastic.co/t/how-to-imported-file-geojson-to-kibana/309456/7 "2022-07-12T20:18:06Z")

</div>

yes i use upload geojson directly , maybe file format is the error???, if I convert it to csv it keeps the geographical aspect or is not a good solution ,

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [July 12, 2022, 8:28pm UTC](https://discuss.elastic.co/t/how-to-imported-file-geojson-to-kibana/309456/8 "2022-07-12T20:28:07Z")

</div>

Yup probably a format error / incompatibility ... and no I would not convert to csv...

In your export tool are there any options when you export the GEOJSON?

What happens if you just try to export a single feature?

What happens if you run the GEOJSON through a geojson validator tool?

---

<div class="post-metadata">

**Author:** ![Khadija\_BOUDINAR1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/khadija_boudinar1/32/106922_2.png) [@Khadija\_BOUDINAR1](https://discuss.elastic.co/u/Khadija_BOUDINAR1)\
**Post date:** [July 12, 2022, 8:40pm UTC](https://discuss.elastic.co/t/how-to-imported-file-geojson-to-kibana/309456/9 "2022-07-12T20:40:27Z")

</div>

i think I found the solution in fact I re-exported my data again in the QGIS tool in shp then I imported them in the form .SHP is it working, kibana detected the data correctly  
thank you for giving me help to change a format

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [July 12, 2022, 8:42pm UTC](https://discuss.elastic.co/t/how-to-imported-file-geojson-to-kibana/309456/10 "2022-07-12T20:42:58Z")

</div>

Nice! .. But a clarification for us... you loaded `.shp` directly into elastic or did you convert to geojson first.. (good for me / others to know)

Oh I see the new "File Upload" for shapefiles.. cool! that is pretty recent.

---

<div class="post-metadata">

**Author:** ![Khadija\_BOUDINAR1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/khadija_boudinar1/32/106922_2.png) [@Khadija\_BOUDINAR1](https://discuss.elastic.co/u/Khadija_BOUDINAR1)\
**Post date:** [July 13, 2022, 7:11pm UTC](https://discuss.elastic.co/t/how-to-imported-file-geojson-to-kibana/309456/11 "2022-07-13T19:11:49Z")

</div>

not in elasticserach sorry , but i used a geographic data tool named QGIS where i have exported my data in .shp and then i imported derectly in kibana

---

<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:** [August 10, 2022, 7:11pm UTC](https://discuss.elastic.co/t/how-to-imported-file-geojson-to-kibana/309456/12 "2022-08-10T19:11:56Z")

</div>

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