MailingList


Converting from Imperial->Metric for distances

View: New views
2 Messages — Rating Filter:   Alert me  

Converting from Imperial->Metric for distances

by Ethan Burrow :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

We're trying to internationalize a site that currently has a zipcode database that uses lat/lon to calculate distances.  I did some searching in the globalize docs and couldn't find any documentation on this, nor a rails plugin that would do any form of conversion.  Has anyone else needed to do this and can steer me towards the light, or is this something we may need to build from scratch?

Re: Converting from Imperial->Metric for distances

by ginger72 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You may want to check out:

http://geokit.rubyforge.org/

It helps to geocode based on google/yahoo api's, based on address  
fields, such as addresses, and it provides finders to search for  
every instance within a certain distance, etc.

Good luck,
Juergen

On Jan 29, 2008, at 5:43 PM, Ethan Burrow wrote:

> We're trying to internationalize a site that currently has a  
> zipcode database that uses lat/lon to calculate distances.  I did  
> some searching in the globalize docs and couldn't find any  
> documentation on this, nor a rails plugin that would do any form of  
> conversion.  Has anyone else needed to do this and can steer me  
> towards the light, or is this something we may need to build from  
> scratch?