diff --git a/src/kmlparser.cpp b/src/kmlparser.cpp index b31c872d..bca65464 100644 --- a/src/kmlparser.cpp +++ b/src/kmlparser.cpp @@ -295,7 +295,8 @@ void KMLParser::placemark(QList &tracks, QList &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);