pat: slightly more flexible lat long recognistion