]> granicus.if.org Git - postgresql/commit
The attached patch defines functions for getting distances between
authorBruce Momjian <bruce@momjian.us>
Fri, 8 Nov 2002 20:20:22 +0000 (20:20 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 8 Nov 2002 20:20:22 +0000 (20:20 +0000)
commit4c1383efd132e4f532213c8a8cc63a455f55e344
tree35283c29d9f4e72eda75ec72d613079a7b3a3602
parent337f73b1bbdaa5d94a52567c3387a503ec3bc4ca
The attached patch defines functions for getting distances between
points on the surface of the earth and locating points within a
specified distance using an index based on the contrib/cube package. The
new functions are all of language type sql. A couple of bugs in the old
earthdistance function based on the point datatype are fixed. A
regression test has been added for both sets of functions. The README
file has been updated to include documentation on the new stuff. There
are comments about how this package is also useful for Astronomers.

Bruno Wolff III
contrib/earthdistance/README.earthdistance
contrib/earthdistance/earthdistance.c
contrib/earthdistance/earthdistance.sql.in
contrib/earthdistance/expected/earthdistance.out
contrib/earthdistance/sql/earthdistance.sql