Link to home
Start Free TrialLog in
Avatar of Larry Vollmer
Larry Vollmer

asked on

Latitude Longitude Finder

Is there some type of pre existing PHP app that I can include on my site that will allow a user to enter a street address, city, state, zip etc and then get the lattiude and longitude of that address?

OR

My page records address, city, etc. and writes it to a database. Is there code I can add to the write process that will add lattitude and longitude points to the database by using the data that the user inputs?
Avatar of Tomeeboy
Tomeeboy
Flag of United States of America image

Hm... that's kind of a complex thing to add to a web site, or at least I would think so.  You could look into Google Maps, but I don't think they support the actual conversion to latitude/longitude:
http://www.google.com/apis/

There's is a site called Geocoder that has an available web service that you can subscribe to for getting regular coordinates from mailing addresses:
http://geocoder.us/

Other sites that give latitude/longitude, but may not have any kind of developer options:
http://www.hmssurprise.org/Resources/whereami.html

Hope that helps ;)

Avatar of Larry Vollmer
Larry Vollmer

ASKER

Tomee,
I am learning that this is a real pain, and something that a lot of developers are looking for.
ASKER CERTIFIED SOLUTION
Avatar of Tomeeboy
Tomeeboy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I have really lucked out. Turns out the data I am using has a seperate table with a unique key that links lat's and long's.

Thanks for the help!