Re: Search by distance - Mailing list pgsql-general

From John D. Burger
Subject Re: Search by distance
Date
Msg-id d49c2804ba0afe2a5dddac5ebee37c92@mitre.org
Whole thread Raw
In response to Re: Search by distance  (Jeffrey Melloy <jmelloy@visualdistortion.org>)
List pgsql-general
Oscar Picasso wrote:

> I guess I also need a database of the cities coordinates. Where could
> I find one?

You can download US data here:

   http://geonames.usgs.gov/domestic/download_data.htm

These are tables of geo entities with a number of columns, including
lat/long.  NGA (formerly NIMA) has similar data for non-US entities:

   http://earth-info.nga.mil/gns/html/cntry_files.html

Note that these data sets include =lots= of entities, not just cities -
we've combined them into a DB with about 6 million items, and only
about 2.5 million are population centers (by our scheme).  Each of the
data sets has feature type columns that you can filter on, though.

- John Burger
   MITRE


pgsql-general by date:

Previous
From: "Merlin Moncure"
Date:
Subject: Re: Fw: Performance UPDATE/INSERT
Next
From: felix@crowfix.com
Date:
Subject: Re: Asking advice on speeding up a big table