public static IEnumerable<LatLong> GetPoints(string mif)
{
var matches = Regex.Matches(mif, @"-?\d+\.\d+");
for (int i = 0; i < matches.Count - 1; i += 2)
{
yield return new LatLong(double.Parse(matches[i + 1].Value), double.Parse(matches[i].Value));
}
}