| От | PG Doc comments form |
|---|---|
| Тема | Wrong distance shown in miles for extension earthdistance |
| Дата | |
| Msg-id | 161638666232.653.1286667599530703498@wrigleys.postgresql.org обсуждение |
| Ответы |
Re: Wrong distance shown in miles for extension earthdistance
|
| Список | pgsql-docs |
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/10/earthdistance.html Description: Hi, I have installed CREATE EXTENSION CUBE; CREATE EXTENSION earthdistance; Post which I ran the following query: SELECT (POINT (19.974, 72.756)<@> POINT (19.195, 72.959)) AS DISTANCE; The answer came back as 21.17534 miles whereas the actual distance (as crow flies) is 55.42 miles which I have checked from 2-3 websites. (Google maps gives a greater distance which is travel by road & this value has been ignored). I know both the places and the distance between both of them cannot be 22 miles. It has to be in excess of 50 miles atleast. What am I missing?
В списке pgsql-docs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера