Created
July 22, 2009 23:15
-
-
Save marcbln/152388 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'geonames' | |
places_nearby = Geonames::WebService.find_nearby_place_name 43.900120387, -78.882869834 | |
p places_nearby |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby api: | |
http://www.tbcn.ca/ruby_geonames | |
geonames-api: | |
http://www.geonames.org/export/ws-overview.html | |
zip-code-lookup example (germany) | |
http://ws.geonames.org/postalCodeSearch?postalcode=10243&maxRows=10&style=full&country=de | |
beispiel-url fuer google-maps bahnhof-problem-workaround: | |
http://ws.geonames.org/findNearbyPlaceName?lat=47.3&lng=9.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment