The user will usually have the Google Street Address assistant to help make sure that a valid address is provided. However, some countries may not be handled by Google well. In that case the following logic should apply so that we can try to maximize the utility of the system for these users:
User submits address.
If Google recognizes, complete as usual.
If Google does not recognize, remove street address and resubmit city state/province, and country.
The objective is to try to link the user to at least one (or more) of his town, state/province, and country groups.
The user will usually have the Google Street Address assistant to help make sure that a valid address is provided. However, some countries may not be handled by Google well. In that case the following logic should apply so that we can try to maximize the utility of the system for these users:
User submits address. If Google recognizes, complete as usual. If Google does not recognize, remove street address and resubmit city state/province, and country.
The objective is to try to link the user to at least one (or more) of his town, state/province, and country groups.
ex http://maps.googleapis.com/maps/api/geocode/json?address=Kao%2CKaohsiung%20City%2CTW