What Grafana version and what operating system are you using?
Grafana cloud - latest version - latest Google Chrome on latest macOS
What are you trying to achieve?
Load a custom GeoJSON file into a Geomap panel to show U.S. counties on a map.
How are you trying to achieve it? and What happened?
The Grafana Geomap ships with two sample geojson files (
/public/maps/usa-states.geojson). Documentation states that you can provide your own URL to other geojson files.
I first tried to find the
/public folder, but since this is Grafana cloud I don’t know where to look and I’ve not been able to find anything online or in Grafana docs after extensive searching.
Instead, I tried hosting the geojson file on an external web location, but the geomap panel doesn’t react or load the file.
Next, I tried seeing if something was wrong with my file by installing a local test instance of Grafana on my Mac, loading my file into the
public/maps folder as per the instructions, and it worked perfectly.
So that leads me to two conclusions to what’s necessary to solve the problem. I either need to be able to:
- load geojson files into the geomap panel via external url OR
- gain access to the filesystem for Grafana Cloud so I can put the file in the
What did you expect to happen?
I expected that either my external URL for the geojson file hosted elsewhere would work or to be able to locate the
/public folder for my Grafana cloud instance.
Did you follow any online instructions? If so, what is the URL?
I’m following the documentation for the geomap panel at:
which says GeoJSON URL provides a choice of GeoJSON files that ship with Grafana.
Any guidance that you all could provide would be greatly appreciated. Thank you!