Monthly Archives: April 2007

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

Ruby Geonames API 0.2.0 – Added Wikipedia Search

Media_httpwwwtbcncaim_knxpe

I’ve added an interface to the Geonames Wikipedia Geocoding Webservice. It provides the ability to search for Wikipedia articles within a certain distance of a longitude / latitude coordinate, or within a bounding rectangle. See in action here: Ruby Geonames / Wikipedia Articles / Google Maps API example.

Install:

# gem install geonames

Or download at Google code hosting