Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 899 Bytes

2012-04-23-03-geo-spatial.md

File metadata and controls

34 lines (21 loc) · 899 Bytes

Monday Morning Session 2: Geospatial Anlysis in Rails

Presenter: Daniel Azuma

Slides at http://daniel-azuma.com/railsconf2012

Setting a Rails app with Geospatial

Libraries needed

  • libgoes - goemetric algorithms
  • libproj - coordinate projections
  • PostGIS - spatial plugin for Progres
  • RGeo - Ruby libraries

Gems needed

Project 1 Visiulizing location activity

  • Using Mercator projection instead of lat/lon, easier to query
  • Visualation using heat maps rather pushpins, heatmap.js thermo.js

Project 2 Timezones based on location

  • May need to 4 to 1 subdivision to divide polygons for query perform

Ideas for projects

  • Heatmap to see where student/leads are located and rendered and filtered with JS
  • Heetmap with website traffic from Google Anaytics using IPs