Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
GPS
      GeoHash


      ke-tai.org
•
•
    ke-tai.org

•
GeoHash


•

•   +141.22.35.364, +43.3.14.112
    ↓   ↓   ↓
    xpssbxt2gpf
GeoHash     (2)
•

•




    xpssbxt2 8         xpssbx 6
GeoHash   (3)
•




    xpst08
(1)
     •


     •
                    SQL like



lon > 141.22345 AND lon < 141.23124 AND lat > 43.41228AND lat < 143.42...
(2)
•
          URL
           foo.php?lon= 141.22345&lat= 43.41228&zoom=12
                               ↓ ↓ ↓
         ...
•             →
    1. base32
    2. 2      (5bit)
    3.       bit(      )          bit(       )
    4.


•              ...
GeoHash

 •

 •




          Web
Gps座標を短い文字列で扱えるGeo Hashが面白い
Upcoming SlideShare
Loading in …5
×

Gps座標を短い文字列で扱えるGeo Hashが面白い

4,535 views

Published on

Published in: Technology
  • Be the first to comment

Gps座標を短い文字列で扱えるGeo Hashが面白い

  1. 1. GPS GeoHash ke-tai.org
  2. 2. • • ke-tai.org •
  3. 3. GeoHash • • +141.22.35.364, +43.3.14.112 ↓ ↓ ↓ xpssbxt2gpf
  4. 4. GeoHash (2) • • xpssbxt2 8 xpssbx 6
  5. 5. GeoHash (3) • xpst08
  6. 6. (1) • • SQL like lon > 141.22345 AND lon < 141.23124 AND lat > 43.41228AND lat < 143.42.097 ↓ ↓ ↓ geohash LIKE ‘xpssbxt2%’
  7. 7. (2) • URL foo.php?lon= 141.22345&lat= 43.41228&zoom=12 ↓ ↓ ↓ bar.php?gh=xpssbxt2 • Perl, PHP, Ruby, Java, JavaScript → LOCAL riaf PHP http://blog.riaf.jp/post/378886859/geohash-php
  8. 8. • → 1. base32 2. 2 (5bit) 3. bit( ) bit( ) 4. • URL http://d.hatena.ne.jp/yuroyoro/20100115/1263526125
  9. 9. GeoHash • • Web

×