Streaming GeoJSON with GDAL, Rack::Chunked, and Rails Live Streaming
TL;DR For you busy folks who just want it to work, here is the gist.
Background A few weeks ago, I was at NationBuilder building a GeoJSON API for organizers. The end goal for this project is to provide accurate political districting information through this API and exposes a map management interface for district updates.
Application Architecture This application is built on top of the popular Ruby On Rails framework, and uses PostGIS as geographic data storage backend.