~/talk

Locate all the things

Talkat Dutch PHP Conference 2017 · 2017-06-29..07-01· [databases, data-visualization]
slides:none on file

Imports OpenStreetMap extracts (Amsterdam) into MongoDB, handling about 12 million nodes and 1.2 million ways, and stores geometries as GeoJSON points/lines/polygons with a S2 cell based geospatial index. Uses a single-array tag index hack (concatenated "key=value" strings) to avoid hundreds of sparse indexes, runs geo queries ($geoNear, $geoWithin, $geoIntersects) and aggregation pipeline geoNear to attach distances, and renders results with Leaflet. Works well for proximity lookups; heavy GIS needs favour PostGIS.

AI-written summary · about

  1. 0:00Start
  2. 0:13What's open?
  3. 1:11About the example data-set
  4. 2:42The Data
  5. 6:38Tagging features (2)
  6. 9:40Importing OSM into MongoDB (2)
  7. 13:13Tags as a keylvalue combination
  8. 14:12Tags as concatenated strings
  9. 17:35GeoJSON: Point
  10. 19:01GeoJSON: LineString
  11. 19:38GeoJSON: Polygon
  12. 23:45Cells for a point
  13. 24:28Cells for a polygon
  14. 26:42The import script
  15. 28:37Geo Operators
  16. 29:13Example with Snear
  17. 30:48Example with $geoWithin
  18. 32:22SgeoWithin - example
  19. 33:04Example with $geolntersects
  20. 35:32Aggregation: SgeoNear example
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.