Re: Radius of a zip code - Mailing list pgsql-sql

From Randolf Richardson
Subject Re: Radius of a zip code
Date
Msg-id Xns9462D2D4F5738rr8xca@200.46.204.72
Whole thread Raw
In response to Radius of a zip code  ("Andy Lewis" <jumboc@comcast.net>)
List pgsql-sql
"tgl@sss.pgh.pa.us (Tom Lane)" wrote in comp.databases.postgresql.sql:

[sNip]
> I'm guessing that the big problem is that you didn't measure longitude
> and latitude in identical units in your table, so your "circle" isn't
> real circular, and the smaller problem is that "miles" converts to
> "degrees of arc" differently at different latitudes.
       Don't forget that there are two different types of "miles" which need 
to be considered when measuring distances:
               1 statute/land mile = 1.609 km               1 nautical/sea mile = 1.85 km
       Since kilometers are consistent over land and water (and in the great 
vacuum of space), the metric system should always be used to ensure clarity, 
unless the only land masses the user is concerned with have no bodies of 
water.
       =)

-- 
Sir Randolf, noble spam fighter - rr@8x.ca
Vancouver, British Columbia, Canada

Please do not eMail me directly when responding
to my postings in the newsgroups.


pgsql-sql by date:

Previous
From: Randolf Richardson
Date:
Subject: Re: not in vs not exists - vastly diferent performance
Next
From: John Coryat
Date:
Subject: Complex Update