null+****@clear*****
null+****@clear*****
2012年 6月 19日 (火) 14:47:56 JST
HAYASHI Kentaro 2012-06-19 14:47:56 +0900 (Tue, 19 Jun 2012) New Revision: 400604baa354c7c587024efb8f927cf967d90a55 https://github.com/groonga/groonga/commit/400604baa354c7c587024efb8f927cf967d90a55 Log: doc: add note about 1st argument of geo_distance Modified files: doc/source/functions/geo_distance.txt Modified: doc/source/functions/geo_distance.txt (+11 -0) =================================================================== --- doc/source/functions/geo_distance.txt 2012-06-19 14:19:55 +0900 (fac54ca) +++ doc/source/functions/geo_distance.txt 2012-06-19 14:47:56 +0900 (e64037e) @@ -153,6 +153,17 @@ Here is a sample about calculating the value of distance with explicitly specifi ``geo_distance`` uses square approximation as default. If you omit ``approximate_type``, ``geo_distance`` behaves like ``rectangle`` was specified. +.. note:: + + ``geo_distance`` accepts the string indicating the coordinate as + the value of ``point1`` when the value of ``approximate_type`` is + ``"rectangle"``. + If you specified the string indicating the coordinate as the value + of ``point1`` with ``sphere`` or ``ellipsoid``, ``geo_distance`` + returns 0 as the value of distance. + + + ``sphere`` ............... -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B... Descargar