Registered Member
|
according to :
http://api.kde.org/4.x-api/kdeedu-apido ... Track.html "GeoDataTrack implements the Track tag defined in Google's extension of the Open Geospatial Consortium standard KML 2.2 at http://code.google.com/apis/kml/documen ... ml#gxtrack ." I tried to use a simle kml file from that link : <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2"> <Folder> <Placemark> <gx:Track> <when>2010-05-28T02:02:09Z</when> <when>2010-05-28T02:02:35Z</when> <when>2010-05-28T02:02:44Z</when> <when>2010-05-28T02:02:53Z</when> <when>2010-05-28T02:02:54Z</when> <when>2010-05-28T02:02:55Z</when> <when>2010-05-28T02:02:56Z</when> <gx:coord>-122.207881 37.371915 156.000000</gx:coord> <gx:coord>-122.205712 37.373288 152.000000</gx:coord> <gx:coord>-122.204678 37.373939 147.000000</gx:coord> <gx:coord>-122.203572 37.374630 142.199997</gx:coord> <gx:coord>-122.203451 37.374706 141.800003</gx:coord> <gx:coord>-122.203329 37.374780 141.199997</gx:coord> <gx:coord>-122.203207 37.374857 140.199997</gx:coord> </gx:Track> </Placemark> </Folder> </kml> and when I try to add this map threw "MarbleModel::addGeoDataFile(const QString& filename)" I get an assertion failure. I believe it happens because gx:Track and gx:coord are nor supported. Is it true? |
KDE Developer
|
I tried the file with both Marble from KDE 4.10 (Marble 1.5) and latest master (to be Marble 1.6) and both load and display the track fine. Which Marble version are you using? What does the assertion say / where is it triggered exactly?
|
Registered Member
|
"ASSERT: parser.isStartElement() && parser.isValidElement(kmlTag_Track) in D:\marbleSource\src\lib\geodata\handlers\kml\KmlTrackTagHandler.cpp, line 127" |
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]