# Still have problem Region Map

**URL:** <https://discuss.elastic.co/t/still-have-problem-region-map/150623>\
**Category:** Kibana\
**Created:** [October 1, 2018, 10:29pm UTC](https://discuss.elastic.co/t/still-have-problem-region-map/150623 "2018-10-01T22:29:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alberto\_Sironi](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@Alberto\_Sironi](https://discuss.elastic.co/u/Alberto_Sironi)\
**Post date:** [October 1, 2018, 10:29pm UTC](https://discuss.elastic.co/t/still-have-problem-region-map/150623/1 "2018-10-01T22:29:36Z")

</div>

Hi evrybody, i got a bit confused about configuration of region map.  
I download a shape file from a site elastic configuration region map page a file geojson of Brasil.  
the file looks like:

```
{"type": "FeatureCollection","features": [
{"type": "Feature", "properties": {"id":3284,"nome":"CruzMachado","uf":"PR","populacao":"18040","pib":"145687","estado_id":"18","codigo_ibg":"4106803"},"geometry": { "type": "Polygon", "coordinates": [[ [ -50.981679537086883, -25.665719405704625]

```

Follow the config page of elastic region map i put this code on my kibana.yml file:  
regionmap:  
layers:  
- name: "Brazilian States"  
url: "/home/sirox84/elk-local/br\_muns.geojson"  
attribution: "[https://exploratory.io/maps](https://exploratory.io/maps)"  
fields:  
- name: "STATE\_NAME"  
description: "State Name"

One of you suggest to me to put this geojson file in:  
The location of the geojson file as provided by a webserver.

But i don understand how can i do this step.  
How i can setup and configure my kibana.yml file?

I have also to modify my logstash.conf?

Also now i read that there is a possibility to have a vector layer with elasti map service.  
This is kind of differetn things?

Hope you can help me.  
Thanks a lot.  
Alberto

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [October 1, 2018, 10:54pm UTC](https://discuss.elastic.co/t/still-have-problem-region-map/150623/2 "2018-10-01T22:54:51Z")

</div>

Hey @Alberto_Sironi, [https://www.elastic.co/blog/custom-region-maps-in-kibana-6-0](https://www.elastic.co/blog/custom-region-maps-in-kibana-6-0) has a section titled "Serving up Geojson File" which uses an npm library to do so.

---

<div class="post-metadata">

**Author:** ![Alberto\_Sironi](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@Alberto\_Sironi](https://discuss.elastic.co/u/Alberto_Sironi)\
**Post date:** [October 2, 2018, 12:15am UTC](https://discuss.elastic.co/t/still-have-problem-region-map/150623/3 "2018-10-02T00:15:46Z")

</div>

Thanks a lot , i will try and i let you know.

---

<div class="post-metadata">

**Author:** ![Alberto\_Sironi](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@Alberto\_Sironi](https://discuss.elastic.co/u/Alberto_Sironi)\
**Post date:** [October 2, 2018, 7:32pm UTC](https://discuss.elastic.co/t/still-have-problem-region-map/150623/4 "2018-10-02T19:32:35Z")

</div>

Hi man, I did exactly what the page recommend to do.  
but I got this error message even in the coordinate map that before was working.  
`Coordinate Map: Could not retrieve manifest from the tile service: status -1`  
I would like to make an important question regarding region maps.  
Now finally I can run my geojson locally in a port 8000 perfect.  
http-server --cors='\*' -p 8000

The problem now is how to connect this geojson with my dataset.  
I think with this field in the kibana.yml file

- name: "STATE\_NAME" but this name should be exactly like the name in my database?

Thanks a lot  
Alberto

---

<div class="post-metadata">

**Author:** ![Alberto\_Sironi](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@Alberto\_Sironi](https://discuss.elastic.co/u/Alberto_Sironi)\
**Post date:** [October 4, 2018, 10:41pm UTC](https://discuss.elastic.co/t/still-have-problem-region-map/150623/5 "2018-10-04T22:41:07Z")

</div>

Ok now i can visualyzed.  
Thanks a lot.

---

<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:** [November 1, 2018, 10:41pm UTC](https://discuss.elastic.co/t/still-have-problem-region-map/150623/6 "2018-11-01T22:41:14Z")

</div>

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