Graticule and acts_as_geocodable updates

Graticule and acts_as_geocodable, which I wrote about here, has a new release with a couple of updates worthy of note. First up is the addition of new geocoders which provide better coverage of locations outside North America, and second is IP address to co-ordinates conversion similar to that in GeoKit.

Brandon has the lowdown, and I’ve updated the Comparison chart on the wiki.

Tags: , , , ,


  1. Hey,

    If I try the example of the Graticule Announcement:

    g = Graticule.service(:local_search_maps).new
    location = g.locate :street => ’48 Leicester Square’, :locality => ‘London’, :country => ‘UK’
    location.coordinates #=> [51.510036, -0.130427]

    I get:

    NoMethodError: undefined method `[]’ for nil:NilClass
    from /var/lib/gems/1.8/gems/graticule-0.2.1/lib/graticule/geocoder/local_search_maps.rb:38:in `parse_response’

    it seems that the URL has no parameters

  2. Christoph – I see that problem too, but haven’t had a chance to track down the problem yet. You might like to comment over on Brandon’s blog as he’s the actual developer of the plugin, I just write about it from time to time.

  3. I tried, but unfortunately mephisto spits out some errors when trying to post a comment 🙂

  4. There was another new release last night and it works for me now.