Relative External Links
About Author
Activities
- 20/Nov: GeoHex Gem 1.0.0 is released
GEOHEX DESCRIPTION
-
The GeoHex is a latitude/longitude encoding system invented by sa2da.
- GeoHex divides geometry regions into hexagonal grid and set an unique identifier to each grid. It supports only Japan region so far.
- The coding idea is opened under the Creative Commons Attribution 2.1 Japan Lisence.
- GeoHex Documents: http://github.com/geohex/geohex-docs
- GeoHex Original Wiki(Japanese): http://geogames.net/labs/geohex
- GeoHex Demo: http://geogames.net/hex/
- Other GeoHex Libraries: http://github.com/geohex/
20 Nov 2009
INSTALL
If you can not install by remote , download from rubyforge.sudo gem install geohex
QUICK START
require 'geohex'
GeoHex.encode(35.647401,139.716911,1)
=> '132KpuG'
GeoHex.decode('0dMV')
=> [24.338279000000004,124.1577708779443,7]

