grafana / worldmap-panel

Worldmap panel plugin for Grafana 3.0 that can be overlaid with circles for data points.
MIT License
310 stars 199 forks source link

3 Char countries does not support US states #87

Open TSprinter opened 7 years ago

TSprinter commented 7 years ago

I can not see 2 char US states when i use 3char country codes as a datasource: default

linkslice commented 7 years ago

I don't think there's a current standard for 3-letter state codes.

TSprinter commented 7 years ago

For sure it is a MasterCard standart for the ISO8583 traffic DE43c (country code)

default

linkslice commented 7 years ago

if you have a link to a the part of the standard that includes the codes I'll write a patch.

TSprinter commented 7 years ago

Sorry, cant share MasterCard whole specs. Anyway the state codes are the same as usual. For 3 char WorldMap mode they will be 2 char codes as on my screen in first message. Meaning if in 3char mode Grafana pull 2 char code it is a us state.

TSprinter commented 7 years ago

Here is a 2char standart for us states :) https://en.m.wikipedia.org/wiki/List_of_U.S._state_abbreviations

TSprinter commented 7 years ago

@linkslice So finally! Can you merge 2 char US states to 3char country list?

TSprinter commented 6 years ago

Here is an example from our current data: MC DE43c Countries Example.txt