[Groonga-commit] groonga/groonga [master] doc: split execution examples

Back to archive index

HAYASHI Kentaro null+****@clear*****
Thu Nov 15 12:15:49 JST 2012


HAYASHI Kentaro	2012-11-15 12:15:49 +0900 (Thu, 15 Nov 2012)

  New Revision: 1ad35b09fffa7e35696081c7fc3e5db66979f54b
  https://github.com/groonga/groonga/commit/1ad35b09fffa7e35696081c7fc3e5db66979f54b

  Log:
    doc: split execution examples

  Added files:
    doc/source/example/reference/functions/geo_distance_distance_rectangle_across_equator.log
    doc/source/example/reference/functions/geo_distance_distance_rectangle_across_meridian.log
    doc/source/example/reference/functions/geo_distance_distance_rectangle_across_the_date_line.log
  Removed files:
    doc/source/example/reference/functions/geo_distance_distance_rectangle_across.log

  Deleted: doc/source/example/reference/functions/geo_distance_distance_rectangle_across.log (+0 -77) 100644
===================================================================
--- doc/source/example/reference/functions/geo_distance_distance_rectangle_across.log    2012-11-15 12:11:57 +0900 (fd2ee78)
+++ /dev/null
@@ -1,77 +0,0 @@
-Execution example::
-
-  # Calculate the value of distance from Sydney,Australia to New York,The United States (across the date line).
-  select Geo --output_columns distance --scorer 'distance = geo_distance("-121926000x544351000", "146566000x-266422000", "rectangle")'
-  # [
-  #   [
-  #     0, 
-  #     1337566253.89858, 
-  #     0.000355720520019531
-  #   ], 
-  #   [
-  #     [
-  #       [
-  #         1
-  #       ], 
-  #       [
-  #         [
-  #           "distance", 
-  #           "Int32"
-  #         ]
-  #       ], 
-  #       [
-  #         26281151
-  #       ]
-  #     ]
-  #   ]
-  # ]
-  # Calculate the value of distance from Paris,Flance to Madrid,Spain (across meridian).
-  select Geo --output_columns distance --scorer 'distance = geo_distance("175904000x8464000", "145508000x-13291000", "rectangle")'
-  # [
-  #   [
-  #     0, 
-  #     1337566253.89858, 
-  #     0.000355720520019531
-  #   ], 
-  #   [
-  #     [
-  #       [
-  #         1
-  #       ], 
-  #       [
-  #         [
-  #           "distance", 
-  #           "Int32"
-  #         ]
-  #       ], 
-  #       [
-  #         1051293
-  #       ]
-  #     ]
-  #   ]
-  # ]
-  # Calculate the value of distance from New York,The United Status to Brasillia,Brasil (across equator).
-  select Geo --output_columns distance --scorer 'distance = geo_distance("146566000x-266422000", "-56880000x-172310000", "rectangle")'
-  # [
-  #   [
-  #     0, 
-  #     1337566253.89858, 
-  #     0.000355720520019531
-  #   ], 
-  #   [
-  #     [
-  #       [
-  #         1
-  #       ], 
-  #       [
-  #         [
-  #           "distance", 
-  #           "Int32"
-  #         ]
-  #       ], 
-  #       [
-  #         6880439
-  #       ]
-  #     ]
-  #   ]
-  # ]

  Added: doc/source/example/reference/functions/geo_distance_distance_rectangle_across_equator.log (+26 -0) 100644
===================================================================
--- /dev/null
+++ doc/source/example/reference/functions/geo_distance_distance_rectangle_across_equator.log    2012-11-15 12:15:49 +0900 (060b5ea)
@@ -0,0 +1,26 @@
+Execution example::
+
+  select Geo --output_columns distance --scorer 'distance = geo_distance("146566000x-266422000", "-56880000x-172310000", "rectangle")'
+  # [
+  #   [
+  #     0, 
+  #     1337566253.89858, 
+  #     0.000355720520019531
+  #   ], 
+  #   [
+  #     [
+  #       [
+  #         1
+  #       ], 
+  #       [
+  #         [
+  #           "distance", 
+  #           "Int32"
+  #         ]
+  #       ], 
+  #       [
+  #         6880439
+  #       ]
+  #     ]
+  #   ]
+  # ]

  Added: doc/source/example/reference/functions/geo_distance_distance_rectangle_across_meridian.log (+26 -0) 100644
===================================================================
--- /dev/null
+++ doc/source/example/reference/functions/geo_distance_distance_rectangle_across_meridian.log    2012-11-15 12:15:49 +0900 (cead916)
@@ -0,0 +1,26 @@
+Execution example::
+
+  select Geo --output_columns distance --scorer 'distance = geo_distance("175904000x8464000", "145508000x-13291000", "rectangle")'
+  # [
+  #   [
+  #     0, 
+  #     1337566253.89858, 
+  #     0.000355720520019531
+  #   ], 
+  #   [
+  #     [
+  #       [
+  #         1
+  #       ], 
+  #       [
+  #         [
+  #           "distance", 
+  #           "Int32"
+  #         ]
+  #       ], 
+  #       [
+  #         1051293
+  #       ]
+  #     ]
+  #   ]
+  # ]

  Added: doc/source/example/reference/functions/geo_distance_distance_rectangle_across_the_date_line.log (+26 -0) 100644
===================================================================
--- /dev/null
+++ doc/source/example/reference/functions/geo_distance_distance_rectangle_across_the_date_line.log    2012-11-15 12:15:49 +0900 (a286eb4)
@@ -0,0 +1,26 @@
+Execution example::
+
+  select Geo --output_columns distance --scorer 'distance = geo_distance("143660000x419009000", "135960000x-440760000", "rectangle")'
+  # [
+  #   [
+  #     0, 
+  #     1337566253.89858, 
+  #     0.000355720520019531
+  #   ], 
+  #   [
+  #     [
+  #       [
+  #         1
+  #       ], 
+  #       [
+  #         [
+  #           "distance", 
+  #           "Int32"
+  #         ]
+  #       ], 
+  #       [
+  #         10475205
+  #       ]
+  #     ]
+  #   ]
+  # ]
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index