Skip to main content
Inspiring
Jan 7, 2014 8:53 PM UTC
Question

Find closest location?

Hi-

I have several "search" locations (either address and/or lat/long) from a cfquery.

and

I have one "main" location.

I need to pass all of the values - the "search" and the "main" - into a service (any free service) that will tell me the one closest "search" value to the "main" value. I can specify a radius if needed (200 km).

Anyone done this with CF before? I know there are several Google services that use its Map API but none seem to do what I need....

Thanks,

Rich

    This topic is closed to new replies. Start a new post to keep the conversation going.

    1 reply

    Participating Frequently
    Jan 8, 2014 12:22 PM UTC

    Had similar  requiremnt built using

    http://cfgmap.riaforge.org/

    for  to get lat & log use http://googlegeocoder3.riaforge.org/ & store  it in your db.

    Translate