Geochart with single Italian region/province

1,216 views
Skip to first unread message

rashmani

unread,
Feb 27, 2015, 7:14:58 AM2/27/15
to google-visua...@googlegroups.com
Hi there,

how can I display a geochart with a single region of Italy?
I'm setting parameters like:
- displayMode: 'regions'
- resolution: 'provinces'
- region: 'IT-25' (ISO_3166-2 code for the equivalent 'Lombardy', tried as well)
but this doesn't work ('Requested map does not exists') with any Italian region (same map works if I set 'region' to 'US-CA').

Furthermore, I'll also want to display single provinces.
I suppose I'll need to use province codes (like 'IT-MI', 'IT-BS', and so on).
I'd probably need to set:
- region: 'IT-MI' (code for Milan's province)
bu this too doesn't work.

These codes (for regions and provinces) already work for coloring regions and set value-sized markers on provinces.
So why these codes do not work for setting the appropriate map portion to display? I've seen people claiming this works... is it something I'm doing wrong?

Cheers for any help/tip/suggestion.
rash*

Sergey Grabkovsky

unread,
Feb 27, 2015, 9:44:15 AM2/27/15
to google-visua...@googlegroups.com
Hi,

We support province focus only for the US right now. This is something that we want to support, but I'm not sure when we'll find the time.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

rashmani

unread,
Feb 27, 2015, 10:22:10 AM2/27/15
to google-visua...@googlegroups.com
Uh.. ah, ok, thanks!

I wonder if I, we, could be of any help...

Ciao,
rash*


Il giorno venerdì 27 febbraio 2015 15:44:15 UTC+1, Sergey ha scritto:
Hi,

We support province focus only for the US right now. This is something that we want to support, but I'm not sure when we'll find the time.

On Fri, Feb 27, 2015 at 7:15 AM rashmani <pippo...@gmail.com> wrote:
Hi there,

how can I display a geochart with a single region of Italy?
I'm setting parameters like:
- displayMode: 'regions'
- resolution: 'provinces'
- region: 'IT-25' (ISO_3166-2 code for the equivalent 'Lombardy', tried as well)
but this doesn't work ('Requested map does not exists') with any Italian region (same map works if I set 'region' to 'US-CA').

Furthermore, I'll also want to display single provinces.
I suppose I'll need to use province codes (like 'IT-MI', 'IT-BS', and so on).
I'd probably need to set:
- region: 'IT-MI' (code for Milan's province)
bu this too doesn't work.

These codes (for regions and provinces) already work for coloring regions and set value-sized markers on provinces.
So why these codes do not work for setting the appropriate map portion to display? I've seen people claiming this works... is it something I'm doing wrong?

Cheers for any help/tip/suggestion.
rash*

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

Fabio Castelletti

unread,
Mar 2, 2015, 10:14:10 AM3/2/15
to google-visua...@googlegroups.com
Hi Rash,

Here are some Geo Charts with the Italian Regions, Provinces (and Municipalities in Marches Region).

Open Data Explorer, from the Camera di Commercio di Macerata:


Some polygons (in Sardinia and Puglia) have been merged, for the special characteristics of these datasets.
Mapfiles (Mercator projection) are stored in Google Drive.

Ciao, Fabio

***

PippoNippo

unread,
Mar 2, 2015, 12:02:25 PM3/2/15
to google-visua...@googlegroups.com
Hi Fabio,

woh, it looks perfect, thanks a ton!
I'll have a look to integrate it with my code, but it looks promising.
Thanks again!

Ciao,
rash*

--
You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/41Jc4vO56h0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages