obale / semantic_crawler

An information fetching library in Ruby on Rails. Following sources are supported: GDACS Crisis Feed, FAO, Factbook Country Information, more coming soon...
MIT License
11 stars 2 forks source link

Fetch information from GeoNames #5

Closed obale closed 12 years ago

obale commented 12 years ago

Not really useful for additional information, but good for GPS coordinates to human readable location name translation. This implementation could improve the interoperability between components, for example if one component has only the GPS coordinates (e.g. one crisis) and Factbook accepts only the human readable country name.

obale commented 12 years ago

Use for the implementation an existing client, for example: https://github.com/elecnix/ruby-geonames

It is not necessary to re-implement this part, but useful to have it in the same library as the other crawler modules. It will be only a simple wrapper around the existing library.

obale commented 12 years ago

Used for this purpose the following library: https://rubygems.org/gems/geonames

It wraps not the full functionality of the GeoNames library, but returns the following two objects (from GPS coordindates - lat/long):