We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As far as I can tell the following GPX string is valid, but the parser doesn't parse it correctly, I think:
[TestMethod] public void TestMultipleFeaturesFromSingleLine() { var str = @"<?xml version='1.0' encoding='utf-8'?> <gpx version='1.1' creator='IsraelHikingMap' xmlns='http://www.topografix.com/GPX/1/1'><metadata><bounds minlat='1' minlon='2' maxlat='16' maxlon='17' /></metadata><wpt lat='1' lon='2' /><trk><name>name1</name><extensions /><trkseg><trkpt lat='3' lon='4'><ele>5</ele></trkpt><trkpt lat='6' lon='7'><ele>8</ele></trkpt></trkseg></trk><trk><name>name2</name><extensions /><trkseg><trkpt lat='13' lon='14'><ele>15</ele></trkpt><trkpt lat='16' lon='17'><ele>18</ele></trkpt></trkseg></trk></gpx>"; var features = GpxReader.ReadFeatures(XmlReader.Create(new MemoryStream(Encoding.UTF8.GetBytes(str))), new GpxReaderSettings(), new GeometryFactory()); Assert.AreEqual(3, features.features.Length); }
Splitting the gpx string into multiple lines solves this, but I think it should work this way too...
The text was updated successfully, but these errors were encountered:
fdd022e
Thanks for the report. Should be fixed in 0.2.0.
Sorry, something went wrong.
airbreather
No branches or pull requests
As far as I can tell the following GPX string is valid, but the parser doesn't parse it correctly, I think:
Splitting the gpx string into multiple lines solves this, but I think it should work this way too...
The text was updated successfully, but these errors were encountered: