Ruby Geonames API 0.2.1 – Added find_nearest_intersection

The Ruby Geonames is jumping to 0.2.1 already… just released 0.2.0 last night (this morning).

Andrew Turner of High Earth Orbit contributed find_nearest_intersection. Thanks Andrew.

Example:

# get the nearest intersection
intersection = Geonames::WebService.find_nearest_intersection 40.7574053333333, -73.9734773333333
puts intersection.street_1 #=> Park Ave
puts intersection.street_2 #=> E 51st St

Leave a Reply