pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PaulD <pauldacus@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Geographic DB
Date: Thu, 17 Nov 2005 09:37:15 -0800
Message-ID: <888b7c4d0511170937j2db0d61fo8ffe830e2a50df76@mail.gmail.com> (raw)

Hi,

I actually implemented something in PHP/mySQL that is a DB of latitudes
& longitudes and zipcodes.  The formula computes distance 'as the crow
flies' using the radius of the Earth between 2 zipcodes, etc.  It's

here:

http://www.deschuteshay.com/distance/ziptest1.php

I wish I could remember where I got this data... maybe
hotscripts.com <http://hotscripts.com/;?
If needed, I can gzip a mysql dump... I'll leave the PG conversion to
you :-)  Very simple though... only 3 fields!

Tell me if you'd like... maybe I'll post a download link to a page.

view thread (2+ messages)  latest in thread

Message-ID: <888b7c4d0511170937j2db0d61fo8ffe830e2a50df76@mail.gmail.com>
Permalink:  ../888b7c4d0511170937j2db0d61fo8ffe830e2a50df76@mail.gmail.com/
Also on:    postgresql.org/message-id/888b7c4d0511170937j2db0d61fo8ffe830e2a50df76@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: pauldacus@gmail.com
  Subject: Re: Geographic DB
  In-Reply-To: <888b7c4d0511170937j2db0d61fo8ffe830e2a50df76@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox