Google Maps international City Borders

315 views
Skip to first unread message

Pfoffie

unread,
Jan 25, 2012, 9:27:39 AM1/25/12
to Google Maps JavaScript API v3
Hi there,
I am not sure if i'm at the right place to ask - so please forgive me
if i'm wrong haha :) I was searching google (AKA the whole internet)
for a solution to my problem but i couldn't find what i needed.

What i seek for is the following: I need a Map on which you can enter
one (or several) City-Names and it will display these cities
boundaries. I've seen google and twitter using that and i wonder how i
can do it. I've found some solutions where i would need to access
external Databases, which would be okay, but they only provide
geometric data for us-states and cities. But i need international
(mainly swiss) data.

So if anyone can help me with that problem would be awesome! I'm very
new to the Google Maps API and i've only done some quite trivial
projects so far - this now seems to expand above my abilities haha.

Thanks a lot in advance to any reply.

Cheerio,
Pfoffie

Vih

unread,
Jan 26, 2012, 5:27:15 PM1/26/12
to Google Maps JavaScript API v3
I'm looking for the same solution, but i couldn't find any yet.
I think it's a new functionality that Google Maps will provide soon in
the API, but I can't tell you for sure.

Hope it comes as soon as possible!

Regards,
Vih

geoco...@gmail.com

unread,
Jan 26, 2012, 6:47:31 PM1/26/12
to Google Maps JavaScript API v3
On Jan 25, 6:27 am, Pfoffie <r...@enjor.ch> wrote:
> Hi there,
> I am not sure if i'm at the right place to ask - so please forgive me
> if i'm wrong haha :) I was searching google (AKA the whole internet)
> for a solution to my problem but i couldn't find what i needed.
>
> What i seek for is the following: I need a Map on which you can enter
> one (or several) City-Names and it will display these cities
> boundaries.
> I've seen google and twitter using that and i wonder how i
> can do it. I've found some solutions where i would need to access
> external Databases, which would be okay, but they only provide
> geometric data for us-states and cities. But i need international
> (mainly swiss) data.

Do you have the boundaries of those cities? KML would be simplest.

The Google Maps API doesn't provide that data. You might be able to
find it publicly available in FusionTables. I know the natural earth
data set is available there, but I don't think that has city
boundaries, just states/cantons.

-- Larry

Junsuk Bang

unread,
Jan 27, 2012, 1:02:13 AM1/27/12
to google-map...@googlegroups.com
It was really hard to find those kind of data.
I have just found data of world country borders, which may not be helpful for you.

If you ever need this data, go to my Fusiontable. I've separated whole KML files into each country cell for everybody to use.

I hope it will be a bit helpful.

Junsuk.
Reply all
Reply to author
Forward
0 new messages