[Groonga-commit] groonga/groonga [master] doc: fix markup about geo_distance

アーカイブの一覧に戻る

null+****@clear***** null+****@clear*****
2012年 6月 19日 (火) 16:31:23 JST


HAYASHI Kentaro	2012-06-19 16:31:23 +0900 (Tue, 19 Jun 2012)

  New Revision: b67ba0813286b9c355d772e9c5f2fb1b7c4b54f5
  https://github.com/groonga/groonga/commit/b67ba0813286b9c355d772e9c5f2fb1b7c4b54f5

  Log:
    doc: fix markup about geo_distance

  Modified files:
    doc/source/functions/geo_distance.txt

  Modified: doc/source/functions/geo_distance.txt (+10 -7)
===================================================================
--- doc/source/functions/geo_distance.txt    2012-06-19 16:22:47 +0900 (274c07d)
+++ doc/source/functions/geo_distance.txt    2012-06-19 16:31:23 +0900 (9cb0b15)
@@ -32,7 +32,7 @@ The unit of return value is meter.
 Usage
 -----
 
-This section explains geo_distance.
+This section explains ``geo_distance``.
 ``geo_distance`` is one of the groonga builtin functions.
 
 You can call a builtin function in :doc:`/reference/grn_expr` 
@@ -43,9 +43,9 @@ between the coordinate of ``point1`` and the coordinate of ``point2``.
 .. note::
 
     groonga provides three built in functions for calculating the value of distance. 
-    There are geo_distance(), geo_distance2() and geo_distance3().
+    There are ``geo_distance()``, ``geo_distance2()`` and ``geo_distance3()``.
     The difference of them is the algorithm of calculating distance.
-    geo_distance2() and geo_distance3() were deprecated since version 1.2.9.
+    ``geo_distance2()`` and ``geo_distance3()`` were deprecated since version 1.2.9.
     Use ``geo_distance(point1, point2, "sphere")`` instead of ``geo_distance2(point1, point2)``.
     Use ``geo_distance(point1, point2, "ellipsoid")`` instead of ``geo_distance3(point1, point2)``.
 
@@ -125,15 +125,18 @@ You can specify the value of ``approximate_type`` by one of the followings.
 
 .. note::
 
-    There is a limitation about geo_distance. geo_distance can not calculate
-    the value of distance between two points across meridian, euator or 
-    the date line.
+    There is a limitation about ``geo_distance``. ``geo_distance`` can not
+    calculate the value of distance between two points across meridian,
+    euator or the date line.
     This is temporary limitation according to the implementation of groonga,
     but it will be fixed in the future release.
 
 .. note::
 
-    There is a limitation about geo_distance above notice. But it relaxes the limitation if you use ``rectangle`` as approximate type. You can calculate the correct distance if two point are placed at northern hemisphere.
+    There is a limitation about ``geo_distance`` above notice.
+    But it relaxes the limitation if you use ``rectangle`` as approximate type.
+    You can calculate the correct distance if two point are placed at northern
+    hemisphere.
 
 ``rectangle``
 ...............
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
ダウンロード 



Groonga-commit メーリングリストの案内
アーカイブの一覧に戻る