validate lat lon input