Alright, I'm still looking for something even better but for the moment I think the National Geospatial Intelligence Agency has something for us. Check out this page
. And since you won't want to download every file, you might want to take a look at this monster file
containing all data. Here
is a description of the fields in the files, to give you a general idea what those files contain. However, this is an awful lot of information, most of which we're not really going to need. So what can we do about this? Do we need someone who actually filters the unnecessary data out? :O
So, another possibility is this smaller file
, containing "only" nearly all cities of the world and their longitude+latitude. This file is interesting, because there are region codes as well, which are translated on these sites: USA and Canada
, and rest of the world
City sizes could be calculated by using the number of "duplicate" entries (slightly different longitude/latitude) for a city.
Both sources have a "no license policy" whatsoever or are GPL.
Actually, if i may dream a bit here, I think it would be pretty nice to some day use this data as well to make a lightmap for the dark side of the earth...
Let me know if this stuff is helpful in any way.
Edit: However, these are by no means country borders (at least as I see it, I didn't check the GNS Files (especially not the large one) deeper though). Those are quite difficult to obtain.
Edit2: I'm not sure if your idea of using coordinates for the borders is really going to work. Take into account that European countries have rather complex borderlines, so you would need an awful lot of coordinates to only get a primitive representation of a country. And if we want to draw country boarders on the globe, we should have pretty nice and realistic representations.So the question I'm rising here: Is it a good thing to have different datasets for the engine and the visual representation? Because if we go this way, it will frequently happen, that you shoot down an UFO over i.e. France, but get points from Germany...
Edited by Mad, 15 February 2007 - 09:43 AM.