0

Are there any ways to get information about different places (cities, mountains, rivers , etc) via latitude/longtitude?

I'm planning to use it in my rails project. Of course, it will be perfect to use information from wiki. Any example of searching over wiki via lat/lon?

May be any other technology/website/api?

tiktak
  • 1,801
  • 2
  • 26
  • 46

2 Answers2

3

You may also check the Geocoder gem to find address by latitude and longtitude. Then you can use wiki api to find articles, like this:

en.wikipedia.org/w/api.php?action=opensearch&search="place_name"&prop=info&format=xml

Or, maybe wikilocation will help you

railscard
  • 1,848
  • 16
  • 12
1

Check out the Open Street Map API http://wiki.openstreetmap.org/wiki/API They tend to discourage read-only queries, but you can probably find someone else's API for that data.

Also check out http://www.gisgraphy.com/ They have a free webservice here http://www.gisgraphy.com/documentation/user-guide.htm#geolocwebservice that looks like it has what you are looking for.

davehale23
  • 4,374
  • 2
  • 27
  • 40