Sha256: 450c439696f98ae6afa5efd5cede5af048a8668a6d5b68ee52596c646a07d2b3

Contents?: true

Size: 1.43 KB

Versions: 72

Compression:

Stored size: 1.43 KB

Contents

.. -*- rst -*-

.. 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

72 entries across 30 versions & 1 rubygems

Version Path
rroonga-3.1.2-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/geolocation_search.txt
rroonga-3.1.2-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/geolocation_search.txt
rroonga-3.1.2-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/geolocation_search.txt
rroonga-3.1.2-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/geolocation_search.txt
rroonga-3.1.1-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/geolocation_search.txt
rroonga-3.1.1-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/geolocation_search.txt
rroonga-3.1.1-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/geolocation_search.txt
rroonga-3.1.1-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/geolocation_search.txt
rroonga-3.1.0-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/geolocation_search.txt
rroonga-3.1.0-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/geolocation_search.txt
rroonga-3.1.0-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/geolocation_search.txt
rroonga-3.1.0-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/geolocation_search.txt
rroonga-3.0.9-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/geolocation_search.txt
rroonga-3.0.9-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/geolocation_search.txt
rroonga-3.0.9-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/geolocation_search.txt
rroonga-3.0.9-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/geolocation_search.txt
rroonga-3.0.8-x86-mingw32 vendor/local/share/doc/groonga/en/html/_sources/geolocation_search.txt
rroonga-3.0.8-x86-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/geolocation_search.txt
rroonga-3.0.8-x64-mingw32 vendor/local/share/doc/groonga/en/html/_sources/geolocation_search.txt
rroonga-3.0.8-x64-mingw32 vendor/local/share/doc/groonga/ja/html/_sources/geolocation_search.txt