There are many free geocode services around.
People have to put the right address format to get the right number of latitude and longtitude.
So here it has to be a human involvement, human has to send the address to see if it will return the right latitude and longtitude. If the address is in wrong format, then he/she has to try to put the address in the right format geocode service accept to get the latitude and longtitude.
I don't see any other better options. The address could be input in several free style ways the postman will understand all of them but not the geocode computer. So there is no guarantee that address will generate longtitude and latitude (so google map can be used etc.)
But I want to at least make it semi-auto. Say, people input the address, and click the submit button to a url, that url will return right longtitude and latitude values if the address is right, so my php code can listen to that response, and auto add the longtitude and latitude values to the database. Or if the address is not in the right format, the url will return an error, so my php page will response by asking the user input right address again.
Is there any geocode service offer something like that?
How do you handle the address to longtitude and latitude issue in your projects? So less human involvements there?
Thanks!