Real Time GeoJSON APIs
summary
Describes a working realtime API that streams GeoJSON features over plain HTTP using Server-Sent Events and the browser EventSource DOM API, emitting add/change/remove events so the client can treat buses as enter/update/exit. Implementation uses Node to emit the SSE stream, curl to inspect it, Leaflet + browserify to plot points, and optional Google Street View to render a driver simulator. The server replays current state as add events, then sends periodic change events; markers move on the map and reconnection is automatic.
AI-written summary · about
chapters (4)
- 0:00Start
- 1:46API design principles
- 3:42General Update Pattern - Enter
- 3:56General Update Pattern - Change
related talks
28mReal Time GeoJSON APIs
32m"A Developer's Guide to Open Source Web Mapping Libraries"
01h 34mBuild a Web Map with Open Source Tools
46mDiscovering 40 Geo-APIs in 40 Minutes
23m'OpenLayers: The Open Source Option of Adding Maps on Websites'
01h 41mOpenStreetWhat? Mapping The World With Open Data
32mVue Real-Time Apps
05mGetting to Know SimpleGeo
