samcragg / sharpkml

SharpKML is an implementation of the Open Geospatial Consortium (OGC) KML 2.2 standard developed in C#, able to read/write both KML files and KMZ files.
MIT License
158 stars 51 forks source link

Added methods to allow the parsing of legacy files using streams #23

Closed D-Bullock closed 4 years ago

D-Bullock commented 4 years ago

Currently if you want to parse legacy files you seem to only be able to use parser.ParseString(string xml, bool namespaces), which just converts that string to a stream under the hood. I've already got a stream and I just wish to be able to ignore the headers

D-Bullock commented 4 years ago

By "Legacy Files" I mean files without the correct namespace - as referenced by https://github.com/samcragg/sharpkml/blob/master/docs/LegacyFiles.md

samcragg commented 4 years ago

Thanks so much for that, much appreciated. I'll create a release now so it'll be on NuGet shortly.