その他の言語のライブラリについては、http://en.wikipedia.org/wiki/GeohashのExternal Linkの項を参照してください。 例えば、perlのCPANモジュール Geo::Hashを利用して、Goehashをencode/decodeする方法は、以下のようになります。 encode my $geohash = Geo::Hash->new; my $hash = $geohash->encode( $lat, $lon ); decode my $geohash = Geo::Hash->new; my ($lat, $lon) = $geohash->encode( $hash ); Geohashが注目された理由 Geohashが注目されたのは、Google App EngineのDatastoreでの「検索のクエリで絞り込み条件が指定できるカラム
![第6回 位置情報を保存しよう(後編) | gihyo.jp](https://cdn-ak-scissors.b.st-hatena.com/image/square/ad1b0e6caea741d45d00773b1ad5af7a6df38978/height=288;version=1;width=512/https%3A%2F%2Fgihyo.jp%2Fassets%2Fimages%2FICON%2F2010%2F697_location-based-services.png)