From c7762e26fb831475ae33fe64df83d954d97309e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 30 Jul 2017 12:13:45 +0200 Subject: [PATCH] Added support for LinearRings in KML --- src/kmlparser.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);