Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.
Geolocation for Web
Manuel Berger - Dez 2013, Technologieplauscherl
48.32926, 14.32076
48.32926, 14.32076
u2d4vyh43gh
Compuware

u2d4vyh43gh

Dornach

u2d4vyh

Urfahr

u2d4vy

Linz
OÖ

u2d4v
u2d4
!

www.bigdatamodeling.org/2013/01/intuitive-geohash.html
Single Simple String
Representation

http://short.er/12C5kv
Database
•

Query on Single Index

•

Grouping Of Points

•

Zooming And Aggregation

•

Caching At Scale

•

Finding Near...
Quick ’n Dirty
Proximity Search
22rt841 <-- Far way party
u2d4vyh <-- Somebody else's party nearby
u2d4vyh <-- Our party
u...
Problem!?
Problem!?

0

1
Problem!?

0

1
Solution!

8 surrounding
geohashes
Used in MongoDB and
HBase to implement
proximity searches
Getting Dirty
Multiple Implementations 

--> See Wikipedia
Java: github.com/davidmoten/geo
!

geohash.org
GeoIP
127.0.0.1 = @Home
Getting Dirty
Multiple GeoIP-DB providers
Free: Maxmind (bit.ly/1kf6fdv)
Yep, there is a Grails Plugin ;) 

(grails.org/pl...
HTML5 Geolocation
JS-Part



Formerly: W3C Geolocation
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(
successHandler, [errorHandler]);
}
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(
successHandler, [errorHandler]);
}
Geolocation API Support

IE 

 Firefox 

Safari

Chrome

Opera

 iPhone

Android

9.0+

3.5+

5.0+

5.0+

10.6+

3.0+

2.0...
GeoIP
Geohash
Geolocation
Distance sort
Geocoding
Geolocation for Web - Geohash, GeoIP & HTML5 Geolocation
Geolocation for Web - Geohash, GeoIP & HTML5 Geolocation
Prochain SlideShare
Chargement dans…5
×

Geolocation for Web - Geohash, GeoIP & HTML5 Geolocation

1 359 vues

Publié le

Publié dans : Technologie, Design
  • Soyez le premier à commenter

  • Soyez le premier à aimer ceci

Geolocation for Web - Geohash, GeoIP & HTML5 Geolocation

  1. 1. Geolocation for Web Manuel Berger - Dez 2013, Technologieplauscherl
  2. 2. 48.32926, 14.32076
  3. 3. 48.32926, 14.32076 u2d4vyh43gh
  4. 4. Compuware u2d4vyh43gh Dornach u2d4vyh Urfahr u2d4vy Linz OÖ u2d4v u2d4
  5. 5. ! www.bigdatamodeling.org/2013/01/intuitive-geohash.html
  6. 6. Single Simple String Representation http://short.er/12C5kv
  7. 7. Database • Query on Single Index • Grouping Of Points • Zooming And Aggregation • Caching At Scale • Finding Nearest Points ! http://www.bigfastblog.com/geohash-intro
  8. 8. Quick ’n Dirty Proximity Search 22rt841 <-- Far way party u2d4vyh <-- Somebody else's party nearby u2d4vyh <-- Our party u2d4vyh <-- Another nearby party ub84ew3 <-- Not so close party
  9. 9. Problem!?
  10. 10. Problem!? 0 1
  11. 11. Problem!? 0 1
  12. 12. Solution! 8 surrounding geohashes
  13. 13. Used in MongoDB and HBase to implement proximity searches
  14. 14. Getting Dirty Multiple Implementations 
 --> See Wikipedia Java: github.com/davidmoten/geo ! geohash.org
  15. 15. GeoIP 127.0.0.1 = @Home
  16. 16. Getting Dirty Multiple GeoIP-DB providers Free: Maxmind (bit.ly/1kf6fdv) Yep, there is a Grails Plugin ;) 
 (grails.org/plugin/geoip)
  17. 17. HTML5 Geolocation JS-Part
 
 Formerly: W3C Geolocation
  18. 18. if (navigator.geolocation) { navigator.geolocation.getCurrentPosition( successHandler, [errorHandler]); }
  19. 19. if (navigator.geolocation) { navigator.geolocation.getCurrentPosition( successHandler, [errorHandler]); }
  20. 20. Geolocation API Support IE   Firefox  Safari Chrome Opera  iPhone Android 9.0+ 3.5+ 5.0+ 5.0+ 10.6+ 3.0+ 2.0+
  21. 21. GeoIP Geohash Geolocation Distance sort Geocoding

×