Skip to content

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

Description

@layman-development

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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