google / google-visualization-issues

288 stars 35 forks source link

Bug: No belgium regions are supported (ISO 3166-2) #1154

Open orwant opened 9 years ago

orwant commented 9 years ago
What steps will reproduce the problem? Please provide a link to a
demonstration page if at all possible, or attach code.
[code emulator="http://code.google.com/apis/ajax/playground/?type=visualization#geo_map"]
function drawVisualization() {
  var data = google.visualization.arrayToDataTable([
    ['Province', 'Popularity'],
    ['BE-VLR', 800],
    ['BE-BRU', 300],
    ['BE-WAL', 600],

  ]);
  var options = {
        region: 'BE',
        width: 556, 
        height: 347
      };

  var geochart = new google.visualization.GeoChart(
      document.getElementById('visualization'));
  geochart.draw(data, options);
}
​[/code]

What component is this issue related to (PieChart, LineChart, DataTable,
Query, etc)?
GeoChart

Are you using the test environment (version 1.1)?
(If you are not sure, answer NO)
No

What operating system and browser are you using?
Win7 - Chrome

*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************

Original issue reported on code.google.com by luc.steffens on 2013-02-20 22:26:52

orwant commented 9 years ago
I did also test with the provinces but it didn't work :(

Codes are coming from:
http://en.wikipedia.org/wiki/ISO_3166-2:BE

It is a strange small country, but it would please me to see this one fixed..

Original issue reported on code.google.com by luc.steffens on 2013-02-20 22:28:59

orwant commented 9 years ago
I found the solutions for the regions by specifying the resolution, but the provinces
ain't working :(

So underlying example might be better.

[code emulator="http://code.google.com/apis/ajax/playground/?type=visualization#geo_map"]
function drawVisualization() {
  var data = google.visualization.arrayToDataTable([
    ['Province', 'Popularity'],
    ['BE-WBR', 800],
    ['BE-VAN', 300],
    ['BE-VBR', 600],
['BE-WHT',650]   
  ]);
  var options = {
        region: 'BE',
        width: 556, 
        height: 347,
        resolution:'provinces'
      };

  var geochart = new google.visualization.GeoChart(
      document.getElementById('visualization'));
  geochart.draw(data, options);
}
​
​[/code]

Original issue reported on code.google.com by luc.steffens on 2013-02-20 22:41:07

orwant commented 9 years ago
Hi, we currently only support top-level regions in province mode. For Belgium this means
that the supported provinces are BE-BRU, BE-VLG, and BE-WAL. We are constantly working
hard on improving the GeoChart and its data.

Original issue reported on code.google.com by grabks@google.com on 2013-02-22 18:19:38

orwant commented 9 years ago
Hello, There are actually 10 provinces in Belgium as per Wikipedia (http://en.wikipedia.org/wiki/Provinces_of_Belgium)
+ the Brussels area which has a specific status. What you call top-level regions for
Belgium actually represent the language frontier. Are there any plans to update Google
accordingly?
Thanks.

Original issue reported on code.google.com by brsi858 on 2014-11-24 13:23:56

olivier1979 commented 8 years ago

Hello all,

Any update on this issue? We are using Google API for a jobsite and we cover Belgium. We encounter the same issue. Please Google can you do something?

Thanks

olivier1979 commented 8 years ago

Maybe there is a workaround?

Hensyy commented 3 years ago

Hi! Any updates on the Belgium provinces? Currently it's possible to draw only 3 regions on the map (BE-BRU, BE-VLG, and BE-WAL), but not provinces.

dlaliberte commented 3 years ago

Does it help to use geochartVersion 11?

From the release notes: https://developers.google.com/chart/interactive/docs/release_notes#current:-july-2020

GeoChart geochartVersion option, specifies the border data version; default is 10, but 11 is now available. regioncoderVersion option, specifies the region coder data version; default is 0, but 1 is now available.

Hensyy commented 3 years ago

Does it help to use geochartVersion 11?

From the release notes: https://developers.google.com/chart/interactive/docs/release_notes#current:-july-2020

GeoChart geochartVersion option, specifies the border data version; default is 10, but 11 is now available. regioncoderVersion option, specifies the region coder data version; default is 0, but 1 is now available.

Unfortunately, not :(