patch earthdistance.sgml (add geo_distance function description)
patch earthdistance.sgml (add geo_distance function description)
От:
Ioseph Kim <pgsql-kr@postgresql.kr>
Дата:
$ diff -urN earthdistance.sgml.orig earthdistance.sgml
--- earthdistance.sgml.orig 2019-01-29 00:59:46.066302968 +0900
+++ earthdistance.sgml 2019-01-29 01:07:56.814501839 +0900
@@ -120,6 +120,13 @@
+ geo_distance(point, point)geo_distance
+ float8
+ Returns distance between the points in miles on earth's surface. A
+ point is composed with longitude(x) and latitude(y).
+
+
+
earth_box(earth, float8)earth_box
cube
Returns a box suitable for an indexed search using the cube
Re: patch earthdistance.sgml (add geo_distance function description)
От:
Ioseph Kim <pgsql-kr@postgresql.kr>
Дата:
Sorry, Ignore this patch. I was confused with cube-based distance and point-based distance. On Tue, Jan 29, 2019 at 01:12:49AM +0900, Ioseph Kim wrote: > $ diff -urN earthdistance.sgml.orig earthdistance.sgml > --- earthdistance.sgml.orig 2019-01-29 00:59:46.066302968 +0900 > +++ earthdistance.sgml 2019-01-29 01:07:56.814501839 +0900 > @@ -120,6 +120,13 @@ > > > > + geo_distance(point, point)geo_distance > + float8 > + Returns distance between the points in miles on earth's surface. A > + point is composed with longitude(x) and latitude(y). > + > + > + > earth_box(earth, float8)earth_box > cube > Returns a box suitable for an indexed search using the cube > >