Hi

 - Finally there. The database of all world cities can be found at:

http://video.s-vid.com/~admin/geog/world.zip

The file is in CSV format, of the form:

iName   cName   CityName        AdminDistrict   LatLong
Africa / Middle East    Tanzania        Musasa  Tanzania (General)
003:21:00S031:33:00E

About 24Mb. Unzips to about 193Mb. 

And includes the United States, which after much looking around, I
found - would that it were so easy to loose in real life...!

There's 2,410,343 entries, and it's only population centres. There's
another 2 million or so  sea mounts, geographical features and so on
omitted. If you really need these, let me know, and I'll see.

I was thinking of setting up a MySQL backend that allows an HTTP
request where you specify a lat and long, and get back the nearest
place. If that'd be of use let me know here.

As I originally said, I got the data free from the US geographical
survey back when they didn't charge for these things. What's amusing
is that Vietnam constitutes a unique region (Col 1). Presumably that
reflects the spirit of the them times to us today through inertia!

Oh - another thing: projecting these coordinates on to a graphic map
is *not* a trivial thing for lots of different reasons. Spherical
coordinates in relation to your map image and all that...

Anyway, have fun, and sniff, if you use them, think about crediting me
as in www.video2cd.co.uk as the source seeing as these days it'd cost
you money to get them!

Best,
TW


--
www.video2cd.co.uk <--- blatant self publicity
and unsubtle effort to flog stuff...


Reply via email to