X-Original-To: pgsql-sql@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 76BBE475F00 for ; Wed, 26 Mar 2003 19:54:08 -0500 (EST) Received: from t-9.net (unknown [64.246.36.43]) by postgresql.org (Postfix) with SMTP id B37E3475CBC for ; Wed, 26 Mar 2003 19:54:04 -0500 (EST) Received: (qmail 2411 invoked by uid 0); 26 Mar 2003 22:56:39 -0000 Received: from localhost (HELO seahat.com) (127.0.0.1) by localhost with SMTP; 26 Mar 2003 22:56:39 -0000 Received: from 65.102.128.233 (SquirrelMail authenticated user snubber@seahat.com) by fordparts.com with HTTP; Wed, 26 Mar 2003 16:56:39 -0600 (CST) Message-ID: <10083.65.102.128.233.1048719399.squirrel@fordparts.com> Date: Wed, 26 Mar 2003 16:56:39 -0600 (CST) Subject: Re: Off topic : world database From: "Ryan" To: In-Reply-To: <3E824070.7070207@oasis.net.au> References: <3E824070.7070207@oasis.net.au> X-Priority: 3 Importance: Normal Cc: X-Mailer: SquirrelMail (version 1.2.8) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=-24.3 required=5.0 tests=BAYES_10,IN_REP_TO,MSG_ID_ADDED_BY_MTA_3,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200303/594 X-Sequence-Number: 12632 > Hi, > > I have a slightly off SQL topic question which I don't think is too > inappropriate, > if it is please let me know and I'll not push my luck again of my > *favorite email list*. > > I'd like to build a Postgresql database of Countries,States and Cities > of the world. > I would like to use 'earthdistance' module so distance queries are > possible. I plan to expose this data as an SOAP webservice via > xmethods.com for others to > access as well. > > I've been searching for a source for this data without joy so far and > would like to > ask if someone on this list could point me to or help with a source for > this info. > Ideally I'd like Country,States,and Cities with Longitude and Latitude > coordinates. > > Thank you kindly, > Again if this is too off topic let me know and I'll keep all my > questions strictly to SQL. > Regards > Rudi. Your best bet is buying a good zipcode database that has lat/long, but would only really help you in the USA. This kind of data tends not to be cheap... Ryan