I think geokit wants lat,lng as floats (or something it can easily
convert into floats with to_f). It's hard to tell from the API whether
distance_from is processed in rails or using SQL trig functions. Since
geokit does a lot of processing on the database side rather than in
rails, it may be easier if you can find some way to store your data in
that format.

Also: this may be get you more expert help with geokit:
http://groups.google.com/group/geokit


On Sep 20, 12:19 am, bingo bob <rails-mailing-l...@andreas-s.net>
wrote:
> Someone said i can convert these with a regex ? that right ?
>
> Maybe on the fly ?
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to