geohex v2 at gms_nagoya

20
@sa2da 2010.7.30 GeoHex v2 http://geohex.net/

Upload: tadayasu-sasada

Post on 22-Jun-2015

1.694 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Geohex v2 at GMS_nagoya

@sa2da2010.7.30

GeoHex v2

http://geohex.net/

Page 2: Geohex v2 at GMS_nagoya

What’s GeoHex ?

Page 3: Geohex v2 at GMS_nagoya

Hex-Mapping Model

Page 4: Geohex v2 at GMS_nagoya

GeoCoding System

Page 5: Geohex v2 at GMS_nagoya

Why GeoHex?

VS

GeoHexNo GeoHex

Page 6: Geohex v2 at GMS_nagoya

Cool interface for GeoGames

not coolSo Coooooool!!!

Page 7: Geohex v2 at GMS_nagoya

Equal in distance

1 : 1.41 1 : 1

Page 8: Geohex v2 at GMS_nagoya

Save Privacyex) for

vague

sa2da 3分前渋谷でご飯なう。

pinpoint

sa2da 3分前渋谷でご飯なう。

Page 9: Geohex v2 at GMS_nagoya

Short Code

20 byte3 - 11 byte

Page 10: Geohex v2 at GMS_nagoya

Level:18

Flexible Size

Level:0 Level:24

Level:16Level:14

Page 11: Geohex v2 at GMS_nagoya

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

Page 12: Geohex v2 at GMS_nagoya

GeoHex for what?

GameCommunication

GISTracking

Statistics

Index

Search

Page 13: Geohex v2 at GMS_nagoya

What’s new in v2 ?

Page 14: Geohex v2 at GMS_nagoya

Extended Worldwide

Page 15: Geohex v2 at GMS_nagoya

Same size in every latitude

same height

map-chips

fit

Page 16: Geohex v2 at GMS_nagoya

Level:22

New code system

Level:16Level:2

Page 17: Geohex v2 at GMS_nagoya

Simple URL

http://geohex.net/quhzpUv

Page 18: Geohex v2 at GMS_nagoya

Coordinate transformed with PROJ.4

WGS84 Google Mercator

Page 20: Geohex v2 at GMS_nagoya

Thanks!Contact

Documents

http://geogames.net/