GeoCoding API updates

I’ve added a new geocoding API, metacarta-geoparser:

$ sudo gem install metacarta-geoparser

MetaCartaGeoParser contains two geocoding APIs, #locate:

gp = MetaCartaGeoParser.new
location = gp.locate ‘baghdad’
p location.coordinates
p location.confidence

and #locations:

gp = MetaCartaGeoParser.new
locations, viewbox = gp.locations ‘seattle’
p locations.length
p location.first.coordinates
p viewbox # coordinates of a box showing all returned locations

Documentation here:

http://dev.robotcoop.com/Libraries/metacarta-geoparser/index.html

I’ve updated geocoder-us to use the RDF API so now you get a reliable
address. I’ve also added a Location object making the API similar to
the other three libraries.

Documentation here:

http://dev.robotcoop.com/Libraries/geocoder-us/index.html

I’ve switched all the APIs to use the new rc-rest library that makes
it easy to implement and test REST-like web services APIs.

Documentation here:

http://dev.robotcoop.com/Libraries/rc-rest/index.html

I’ve added a mailing list:

http://lists.robotcoop.com/mailman/listinfo/Libraries


Eric H. - [email protected] - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com