Sha256: 31f057d25195506108212d27747d76036a5996451aa6c29e153251d914dc458f

Contents?: true

Size: 1.45 KB

Versions: 68

Compression:

Stored size: 1.45 KB

Contents

.. -*- rst -*-
.. Groonga Project

.. highlightlang:: none

Geolocation Search
==================

Groonga supports geolocation search. It uses index for
search. It means that you can search by geolocation fast
like fulltext search.

Supported features
------------------

Groonga supports only point as data type. Line, surface and
so on aren't supported yet. Here is a feature list:

#. Groonga can store a point to a column.
#. Groonga can search records that have a point in the specified rectangle.
#. Groonga can search records that have a point in the specified circle.
#. Groonga can calculate distance between two points.
#. Groonga can sort records by distance from the specified
   point in ascending order.

Here are use cases for Groonga's geolocation search:

* You list McDonald's around a station.
* You list KFS around the current location sort by distance
  from the current location in ascending order with distance.

Here are not use cases:

* You search McDonald's in a city. (Groonga doesn't support
  geolocation search by a shape except a rectangle and a
  circle.)
* You store a region instead of a point as a lake
  record. (A column can't has geolocation data except a
  point.)

The following figures show about Groonga's geolocation
search features.

Here is a figure that only has records. A black point
describes a record. The following figures shows how records
are treated.

.. image:: /images/geo-points.png
   :alt: only records


Coming soon...

Version data entries

68 entries across 34 versions & 1 rubygems

Version Path
rroonga-5.0.9-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/geolocation_search.txt
rroonga-5.0.9-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/operations/geolocation_search.txt
rroonga-5.0.9-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/geolocation_search.txt
rroonga-5.0.9-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/operations/geolocation_search.txt
rroonga-5.0.8-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/operations/geolocation_search.txt
rroonga-5.0.8-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/geolocation_search.txt
rroonga-5.0.8-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/operations/geolocation_search.txt
rroonga-5.0.8-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/geolocation_search.txt
rroonga-5.0.5-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/operations/geolocation_search.txt
rroonga-5.0.5-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/geolocation_search.txt
rroonga-5.0.5-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/geolocation_search.txt
rroonga-5.0.5-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/operations/geolocation_search.txt
rroonga-5.0.4-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/operations/geolocation_search.txt
rroonga-5.0.4-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/geolocation_search.txt
rroonga-5.0.4-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/operations/geolocation_search.txt
rroonga-5.0.4-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/geolocation_search.txt
rroonga-5.0.3-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/operations/geolocation_search.txt
rroonga-5.0.3-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/geolocation_search.txt
rroonga-5.0.3-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/reference/operations/geolocation_search.txt
rroonga-5.0.3-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/reference/operations/geolocation_search.txt