improved parsing of string versions of latlon