Ruby Geonames API 0.2.1 – Added find_nearest_intersection April 2, 2007
Posted by adamw523 in Uncategorized.trackback
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
Comments»
No comments yet — be the first.