Documentation driven design; Add nearest bike station
Add StationAdapter to transform each station into triples of 2points and ids
Add SpatialSearch; find nearest bike stations using k-d tree and nearest neighbour algorithm
Syntax tidies
Grrr :rage: Revert Ruby 2.1 named args with default; We're targeting >=2.0
Helpful if the id attr of a Station was also Integer to help mapping
Updates since parser returns stations with int id
Dummy impl on the front end
Replace unrequired named arg & update tests
Add all_ids method to return all stations matching id
Add bit more impl for nearest search
Add Geocoder gem
Create GeocodingAdapter; an adatper to a geocoding service
Switch to GeocodingAdapter
Spec GeocodingAdapter with no results
Fix specs for controller
Test some more obvious behaviour
Split up method
Move search limit out to module
Replace nearest search type postcode with just search; The geocoding service will geocode anything so dont restrict to postcode