gudmundur/straeto-data — pull request #11 by flother (2013-06-18 22:15:53+00:00)
Title: Convert JSON files containing lat/lon data to GeoJSON

Two JSON files, `routes/route_paths.json` and `stops/allStops.json`, contained lat/lon data but in a proprietary format, so I converted them to [GeoJSON] [geojson]. The immediate benefit is that other tools can now use the data unchanged — [Leaflet can overlay them on maps] [leaflet], for example. In fact, that's just what GitHub now does: see my copies of the [route paths] [paths] and [all stops] [stops].

The disadvantages are that the filenames have changed and any existing tools will need to be altered to use the new format.

I also updated the `index.coffee` importer and the `stops.coffee` tests.

[geojson]: http://www.geojson.org/geojson-spec.html
[leaflet]: http://leafletjs.com/examples/geojson.html
[paths]: https://github.com/flother/straeto-data/blob/3b1235f776caa3acb5f9c87d1cf5a5607f79a2df/routes/route_paths.geojson
[stops]: https://github.com/flother/straeto-data/blob/c263a62b7038a0b002ce21918cfc44d42463cf00/stops/allStops.geojson