Skip to content

Bug when KML coordinates are separated by only \n #3

@JamesKosher

Description

@JamesKosher

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."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions