I was wondering if there is an easy way to convert an address into its lattiude and longitude coordinates through php. From what I would imagine, I would need to find an online database that hosts the conversion, right?

I ask this because I want to find a way to map the addresses and I think that mapping them via their lat/lon would be most effective. I saw an interesting example of this technology at http://www.paulrademacher.com/housing/ and was wondering how ths person converts the addresses to coordinates in order to map them.

Thanks

    You can download a geographic names file from here with that information and a lot more (220 M😎. I'd recommend parsing out and storing the data in chunks, keeping just what you need. The data description is here.

      7 months later
      Write a Reply...