Re: Radius of a zip code
От | Randolf Richardson |
---|---|
Тема | Re: Radius of a zip code |
Дата | |
Msg-id | Xns9462D2D4F5738rr8xca@200.46.204.72 обсуждение исходный текст |
Ответ на | Radius of a zip code ("Andy Lewis" <jumboc@comcast.net>) |
Список | 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 по дате отправления: