geohex v2 at gms_nagoya
TRANSCRIPT
What’s GeoHex ?
Hex-Mapping Model
GeoCoding System
Why GeoHex?
VS
GeoHexNo GeoHex
Cool interface for GeoGames
not coolSo Coooooool!!!
Equal in distance
1 : 1.41 1 : 1
Save Privacyex) for
vague
sa2da 3分前渋谷でご飯なう。
pinpoint
sa2da 3分前渋谷でご飯なう。
Short Code
20 byte3 - 11 byte
Level:18
Flexible Size
Level:0 Level:24
Level:16Level:14
Easy to calculate distance
function getDistance(_x1,_y1, _x2,_y2){ _x2 = _x2 * Math.PI / 180.0; _y2 = _y2 * Math.PI / 180.0; _x1 = _x1 * Math.PI / 180.0; _y1 = _y1 * Math.PI / 180.0;
var dx=_x2-_x1; var dy=_y2-_y1; var A = 6378137; // 地球の赤道半径(6378137m)
var x = A * (dx) * Math.cos( _y1 ); var y = A * (dy); var old_exp = exp; dy=Math.log(Math.tan(Math.PI/4+_y2/2))-Math.log(Math.tan(Math.PI/4+_y1/2)); var rad=((dy>=0) ? 1:-1)*Math.acos(dx/Math.sqrt(dx*dx+dy*dy))*180.0/Math.PI; var tmpdist = Math.round(Math.sqrt(x*x + y*y)); totaldist = totaldist + tmpdist; distcnt();}
A.x - B.x
GeoHex for what?
GameCommunication
GISTracking
Statistics
Index
Search
What’s new in v2 ?
Extended Worldwide
Same size in every latitude
same height
map-chips
fit
Level:22
New code system
Level:16Level:2
Coordinate transformed with PROJ.4
WGS84 Google Mercator
GeoHex is Open Project
GeoHex by sa2da is licensed under a Creative Commons 表示-継承 2.1 日本 License.
Creative Commons License
Join github
http://github.com/geohex/
calcul_omikan
hal_sk
kokogikoPerl
Ruby / GitHub
AS3