extract digits from latitude and longitude