]> granicus.if.org Git - postgresql/commit
I have included fixes to declare some floating point constants as double
authorBruce Momjian <bruce@momjian.us>
Fri, 20 Sep 2002 03:47:22 +0000 (03:47 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 20 Sep 2002 03:47:22 +0000 (03:47 +0000)
commit24bebf0b725e965ed2b725dcb31a46f787e98dbf
treeaeb3840f27e8cadf46d516ed1227c8916f746955
parenta834cbe1e91f496145373b18014e181e15cbd0d5
I have included fixes to declare some floating point constants as double
instead of int, change the calculation method to use the haversine
formula
which is more accurrate for short distances, added a grant to public for
geo_distance and added a regression test.

I will resubmit the earth distance stuff based on cube after 7.3 is
released.

Bruno Wolff III
contrib/earthdistance/Makefile
contrib/earthdistance/README.earthdistance
contrib/earthdistance/earthdistance.c
contrib/earthdistance/earthdistance.sql.in