public
Rubygem
Description: Tool for spidering websites/blogs to extract geodata.
Homepage: http://geospider.rubyforge.org
Clone URL: git://github.com/tomtaylor/geo-spider.git
Fixing geocoder to use postal_code rather than zip.
tomtaylor (author)
Fri Oct 03 08:38:34 -0700 2008
commit  1ee29b2662f3a515cb119f7e2ec184aeddeeb335
tree    2427ec79cf40f83dcb4d376eae0c80bd4b05775d
parent  512b7c733b50019b69abeadb2ac82f9358d40393
...
18
19
20
21
 
22
23
24
...
18
19
20
 
21
22
23
24
0
@@ -18,7 +18,7 @@ module GeoSpider
0
         
0
         results.each do |result|
0
           begin
0
- p = geocoder.locate(:zip => result, :country => "GB")
0
+ p = geocoder.locate(:postal_code => result, :country => "GB")
0
             found_locations << Location.new(:latitude => p.latitude, :longitude => p.longitude, :title => result)
0
           rescue Graticule::Error => e
0
             next

Comments

    No one has commented yet.