Hi Johan et al, I have had the same problem in the past. I emailed the developer but have not had a reply. Our workaround involved exporting as a gpx file and using that. I think that the problem lies with additional xml data within the kml relating to the time of data capture. Use GPX when you export from GPS Essentials.
HTH, Wesley On Thu, Sep 20, 2012 at 8:37 PM, Johan Nilsson <[email protected]> wrote: > Sorry, I just mailed to André and not the list. I don't know why...but > here it come. > > ---------- Forwarded message ---------- > From: Johan Nilsson <[email protected]> > Date: 2012/9/20 > Subject: Re: [Qgis-user] Can't add kml-file to QGIS > To: Andre Joost <[email protected]> > > > 2012/9/20 Andre Joost <[email protected]> > >> Am 20.09.2012 14:06, schrieb Johan Nilsson: >> >>> I have exported some track-logs from a Android app called >>> *'GPS-Essential'* and >>> >>> I can add them to Google map and to Google Earth. But when I triy to add >>> (Layer-->Vector Layer to QGIS i get this message: >>> >>> /home/joni/GIS/GPSE/kml/Track-**09_19_12 11_42_21.kml is not a valid >>> or >>> recognized data source >>> >>> >> Can you open the file with a text editor? >> Qgis does not like folders with mixed content (points, lines and/or >> polygons). Furthermore, <ExtendedData> tags can not be read. >> >> The strange thing was that some kml-files was able to open but not all > (but everyone in Google Maps. Yes. I opened with gedit, a text-editor and > find that they had different structure. The one that was able to open,, > separate the xyz with comma/space separation: > > *]]></description><styleUrl>#track</styleUrl><MultiGeometry><LineString><coordinates>17.585611,59.838646,31.4 > 17.585642,59.8386,31.0 17.585693,59.838562,31.3 17.585735,59.838512,36.4 > 17.585785,59.83847,37.8 17.585827,59.838425,34.8 17.585857,59.83837,34.9 > 17.58585,59.838303,35.3 17.585823,59.838257,.... > * > and the ones I could not open have this: > ...<gx:coord>17.673456 59.870106 16.6</gx:coord><gx:coord>17.673555 > 59.87012 16.9</gx:coord><gx:coord>17.673653 59.870136 > 16.6</gx:coord><gx:coord>17.67375 59.870148 > 16.6</gx:coord><gx:coord>17.673853 59.87016 > 17.2</gx:coord><gx:coord>17.673935 59.870182 18.7<.... > > I will ask the developer about this..If he have change, or If i have > exported in different ways. > > I'm totally new to use SQL/relations databases with ArcGIS and QGIS, and > are just now trie to learning. I assume that sqlite lack > >> >> >>> Are there any other tools to convert to for instance shape-files. >>> GPS-Essential save their data in a sqlite-file, so I can export from >>> asql-manager to. I don't know how I open a sqlite db in QGIS either. >>> >> >> Just as simple as Add new spatialite layer, if it is a spatialite sqlite >> database. Otherwise it would be a non-spatial layer. You can try Qgis DB >> Manager to look inside the database. >> > > the sqlite seems to lack spatial data, even if there are coordinates. Will > try to learn more about this... > >> >> Has GPS-Essential any other output options? I would assume GPX, beeing >> standard in GPS data exchange. At least Google Earth does IIRC. >> > > Another thing was that the kml-files that opened was not placed right with > my background map (RT90 2,5 gon V (metric coordinate system) despite I > checked 'on the fly reprojection' and I thougt all kml was in WGS 84 by > default. > > /Cheers > > > >> >> Greetings, >> André Joost >> >> ______________________________**_________________ >> Qgis-user mailing list >> [email protected] >> http://lists.osgeo.org/**mailman/listinfo/qgis-user<http://lists.osgeo.org/mailman/listinfo/qgis-user> >> > > > > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-user > > -- Dr Wesley Roberts [email protected] Cell: 083 5355 646 Work: 021 - 888 2490 skype: roberts-w
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
