chrisf
unread,Jun 13, 2010, 7:33:43 AM6/13/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to GeoCommons Geocoder
I've tried this on an EC2 64-bit Ubuntu, EC2 32-bit Ubuntu and a
Macbook Pro with Leopard and for all 3 machines I'm getting lat/lng
results that are in the thousands
irb(main):003:0> p db.geocode("1600 Pennsylvania Av, Washington DC")
zip results 2
[{:precision=>:range, :number=>"1600", :street=>"Pennsylvania Ave
NW", :prenum=>"", :zip=>"20502", :score=>0.753, :lon=>2533.967734, :lat=>1233.403826}]
irb(main):007:0> p db.geocode(:street=>"575
broadway", :postal_code=>"94063")
[{:city=>"Redwood
City", :precision=>:range, :number=>"575", :street=>"Broadway
St", :prenum=>"", :fips_county=>"06081", :zip=>"94063", :state=>"CA", :score=>0.746, :lon=>33.798675, :lat=>1218.001829}]
Any ideas?
Does anyone have working db that they could let me download (assuming
it is my db that isn't generated properly)?