LocaPoint conversion library for Ruby
A ruby library for conversion between LocaPoint and latitude/longuitude notation.
What is LocaPoint?
LocaPoint is the state-of-the-art location pointer that can express any location of the world, only with 12 letters. (quoted from www.locapoint.com)
Install
% gem install locapoint
Examples
require 'rubygems'
require 'locapoint'
Locapoint.decode("SD9.XC4.ER9.CY4")
> [35.6586477189174, 139.745663667239]
Locapoint.encode(35.658648,139.745664)
> "SD9.XC4.ER9.CY4"
See Also
-
Project Website: locapoint.rubyforge.org
-
RubyForge Project Page: www.rubyforge.org/projects/locapoint
-
Subversion Repository: rubyforge.org/cgi-bin/viewvc.cgi/?root=locapoint
-
LocaPoint Official Site: www.locapoint.com
-
LocaPoint Specifications: www.locapoint.com/en/spec.html
Author
Copyright © 2006 Yohji Shidara, under MIT License.
Yohji Shidara <[email protected]>