In class GeoJsonRootObject line 217:
v = Regex.Replace(v, "\n", ""); should be v = Regex.Replace(v, "\n", " "); where "\n" is replace by a one character string. This was breaking on my KML as there was no longer any space between coordinate groups.
The error was "Input string was not in a correct format."
In class GeoJsonRootObject line 217:
v = Regex.Replace(v, "\n", "");should bev = Regex.Replace(v, "\n", " ");where "\n" is replace by a one character string. This was breaking on my KML as there was no longer any space between coordinate groups.The error was "Input string was not in a correct format."