Upload Brazilian Map [ SOLVED ]

Hiiii.

Anyone help me to upload a brazilian map in meetabase plss???

Follow exemples:

image

Hi @Hlopes
Have you searched for “brazil geojson” ? There are many results on Google/Bing, but it all depends on how specific the data needs to be.

I tried, however I did not understand which link I have to reference when they ask me in the metabase

@Hlopes
You have to provide an URL to a GeoJSON file. Did you do that? Are you seeing any errors?

I uploaded the map, but at the time of editing my query to select the map it does not open, did I upload it wrong

Your query must match the region’s identifier.
Tell us how u doing this.

@kelsen.faria

Can you provide a step-by-step how to reproduce the error you’re seeing?
If you’re using a public GeoJSON, then provide a link to that.

You will eventually stumble across it, so I’m linking my issue here:

It is possible that you can’t see anything because of a bug.

Hi, Hlopes!

Did you uploaded the brazilian map?
Could you share de link?

Thank you!

Hi @thiagoluna
Just make a search for “brasil geojson”:
https://github.com/tbrugz/geodata-br
https://github.com/codeforamerica/click_that_hood/blob/master/public/data/brazil-states.geojson

1 Like

Thank you @flamber!
Finally I found the map!

Now, I have another problem:
When I point the mouse above a part of the map, the numbers appear behind de map.

Does anyone know how to fix it?

@thiagoluna Are you using version 0.32.9? Otherwise upgrade, that should fix most map issues.

pode mostrar como configurou o mapa e como fez a pergunta?

1 Like

Bom dia!

Não consigo colocar o mapa. O erro abaixo fica aparecendo, independente de qual url estou buscando o mapa.

undefined is not iterable (cannot read property Symbol(Symbol.iterator))

@RebecaGums
Post "Diagnostic Info" from Admin > Troubleshooting.
And the link to the GeoJSON file you are having problems with.

Hello,

"Diagnostic Info" from Admin Troubleshooting is not working.

@RebecaGums I'm asking for "Diagnostic Info" from Admin > Troubleshooting, not the logs.

{
"browser-info": {
"language": "pt-BR",
"platform": "Win32",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36 Edg/92.0.902.67",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "Java(TM) SE Runtime Environment",
"java.runtime.version": "1.8.0_271-b09",
"java.vendor": "Oracle Corporation",
"java.vendor.url": "http://java.oracle.com/",
"java.version": "1.8.0_271",
"java.vm.name": "Java HotSpot(TM) 64-Bit Server VM",
"java.vm.version": "25.271-b09",
"os.name": "Linux",
"os.version": "5.4.0-74-generic",
"user.language": "en",
"user.timezone": "America/Sao_Paulo"
},
"metabase-info": {
"databases": [
"h2",
"oracle",
"csv",
"postgres",
"mysql"
],
"hosting-env": "unknown",
"application-database": "h2",
"application-database-details": {
"database": {
"name": "H2",
"version": "1.4.197 (2018-03-18)"
},
"jdbc-driver": {
"name": "H2 JDBC Driver",
"version": "1.4.197 (2018-03-18)"
}
},
"run-mode": "prod",
"version": {
"tag": "v0.37.7",
"date": "2021-01-20",
"branch": "release-x.37.x",
"hash": "2b034aa"
},
"settings": {
"report-timezone": null
}
}
}

@RebecaGums

  1. I would recommend that you upgrade to a newer version - latest release is 0.40.2 - remember to backup before upgrading:
    https://github.com/metabase/metabase/releases/latest
  2. You should migrate away from H2 if you are using Metabase in production:
    https://www.metabase.com/docs/latest/operations-guide/migrating-from-h2.html
  3. And consider using Java 11:
    https://www.metabase.com/docs/latest/operations-guide/java-versions.html