Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List of major cities with latitude longitude and timezone

I am looking for an open source flat file (comma separated values for example) of the major cities in this world, together with their latitude longitudes and timezone. The first 1000 or more is fine. Is such a resource available?

Eventually, a combination of two flats files (lat/long & timezone) is fine too.

like image 994
Jérôme Verstrynge Avatar asked Aug 23 '11 03:08

Jérôme Verstrynge


People also ask

Can you search Google maps with latitude and longitude?

To search for a place, enter the latitude and longitude GPS coordinates on Google Maps. You can also find the coordinates of the places you previously found. Besides longitude and latitude, you can use plus codes to share a place without an address.

What city has a latitude of 0?

Null Island is the point on the Earth's surface at zero degrees latitude and zero degrees longitude ( 0°N 0°E), i.e., where the prime meridian and the equator intersect. Null Island is located in international waters in the Atlantic Ocean, roughly 600 km off the coast of West Africa, in the Gulf of Guinea.

What capital city is 40 16 N 76 53 W?

38° 54' N 77° 02' W Example: Washington D.C. 40° 16' N 76° 53' W 1.


3 Answers

You can take a look at this

http://www.partow.net/miscellaneous/airportdatabase/#Download

tells you the lat-long info of all major cities with airports

like image 149
parapura rajkumar Avatar answered Sep 23 '22 09:09

parapura rajkumar


Have a look at: http://www.maxmind.com/app/worldcities

here is also a free version: http://www.maxmind.com/app/geolitecity

like image 35
stewe Avatar answered Sep 19 '22 09:09

stewe


Building on Parapura's answer (+1 for the great idea of using airport lists):

Here is another much more complete airport database (46325 airports as of today and apparently actively maintained).

To hopefully save other's time, here are the few command lines I used to get it all:

wget ourairports.com/data/airports.csv
wget ourairports.com/data/airport-frequencies.csv
wget ourairports.com/data/runways.csv
wget ourairports.com/data/navaids.csv
wget ourairports.com/data/countries.csv
wget ourairports.com/data/regions.csv

To get major cities, I would use the airports qualified as "large_airport".

like image 32
Pierre D Avatar answered Sep 19 '22 09:09

Pierre D