1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-18 19:52:09 +01:00

Added support for LinearRings in KML

This commit is contained in:
Martin Tůma 2017-07-30 12:13:45 +02:00
parent 5b8d41afb7
commit c7762e26fb

View File

@ -295,7 +295,8 @@ void KMLParser::placemark(QList<TrackData> &tracks, QList<Waypoint> &waypoints)
w.setDescription(desc);
w.setTimestamp(timestamp);
point(w);
} else if (_reader.name() == "LineString") {
} else if (_reader.name() == "LineString"
|| _reader.name() == "LinearRing") {
tracks.append(TrackData());
TrackData &t = tracks.last();
t.setName(name);