GeoJSON.NET
GeoJSON.NET copied to clipboard
Bug when KML coordinates are separated by only \n
trafficstars
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."