1. Whats My Place in the Universe? Using Geo Indexes to Solve
Existential Crises Building a Mobile App with MongoDB Part 2
2. 2 The Scavenger Hunt App Users create scavenger hunts by
pinning waypoints
3. 3 The Scavenger Hunt App Players search for a scavenger hunt
near their current position
4. 4 The Scavenger Hunt App Basic Requirements
5. 5 The Scavenger Hunt App Basic Requirements Mark target
points
6. 6 The Scavenger Hunt App Basic Requirements Mark target
points Identify our users
7. 7 The Scavenger Hunt App Basic Requirements Mark target
points Identify our users Mark users progress during hunts
8. 8 Waypoint { _id: ObjectId(), user: UUID, tour: UUDI name:
"Doug's Dogs", desc: "The best hot-dog", clues: [ "Hungry for a
Coney Island?", "Ask for Dr. Frankenfurter", "Look for the hot dog
stand" ], "geometry": { "type": "Point", "coordinates": [125.6,
10.1] } };
9. 9 Waypoint { _id: ObjectId(), user: UUID, tour: UUDI name:
"Doug's Dogs", desc: "The best hot-dog", clues: [ "Hungry for a
Coney Island?", "Ask for Dr. Frankenfurter", "Look for the hot dog
stand" ], "geometry": { "type": "Point", "coordinates": [125.6,
10.1] } }; Geospacial Index: ensureIndex( { geometry: 2dsphere }
)
19. 19 Polygon Data Driven Decision How many people live around
this area How many of my customers are around this distribution
center What time of the day do they actually get in front of the
shop Where are my competitors located How much time does it take
get from A -> B
38. Crisis 2: Shattering of one's sense of reality, or how the
world is.
39. 39 Honolulu to Tokyo
40. 40 Honolulu to Tokyo
41. 41 Honolulu to Tokyo
42. 42 Honolulu to Tokyo
43. 43 Coordinate Reference System A system to locate
geographical entities WGS84 datum Geoid - the shape of the surface
of the oceans EGM96 gravitational model "crs": { "type": "name",
"properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }
44. 44 Geoid Credit: ESA
45. 45 Am I inside or outside the box?
46. 46 The Correct Interpretation
47. 47 Right Hand Rule
48. Crisis 3: Anew-found grasp or appreciation of one's
mortality.
49. 49 BigPolygon in Action
50. 50 BigPolygon in Action
51. 51 BigPolygon in Action
52. Crisis 4: Awareness of one's freedom and the consequences
of accepting freedom.