~/talk

Getting Down To Earth: Geospatial Analysis With Rails

Talkat RailsConf 2012 · 2012-04-23..04-25· [ruby-on-rails, databases]
slides:none on file

Sets up Rails with PostGIS + Postgres and Ruby gems RGeo and rgeo-shapefile, loads 50,000 points from Perk logs, stores coordinates as SRID 3785 (Google Mercator), and shows why projecting to Mercator keeps map-rectangle queries simple. Implements heat maps with thermo.js heatmap and explains when to pre-render raster tiles. Builds a timezone service using polygon shape files, uses ST_Contains then a ST_Buffer/ST_Intersects rewrite to avoid full table scans, and speeds queries by 4:1 polygon subdivision and proper spatial indexes.

AI-written summary · about

  1. 0:00Geospatial analysis with Rails
  2. 4:39Rails geospatial setup
  3. 7:53Visualizing location data
  4. 19:07Time zones from location
  5. 31:46Optimizing spatial queries
  6. 38:23Recap and resources
~/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.