[Qgis-user] Fwd: Can't add kml-file to QGIS

Johan Nilsson joni8135 at gmail.com
Thu Sep 20 11:37:10 PDT 2012


Sorry, I just mailed to André and not the list. I don't know why...but here
it come.

---------- Forwarded message ----------
From: Johan Nilsson <joni8135 at gmail.com>
Date: 2012/9/20
Subject: Re: [Qgis-user] Can't add kml-file to QGIS
To: Andre Joost <andre+joost at nurfuerspam.de>


2012/9/20 Andre Joost <andre+joost at nurfuerspam.de>

> 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
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/qgis-user<http://lists.osgeo.org/mailman/listinfo/qgis-user>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120920/80ed7373/attachment.html>


More information about the Qgis-user mailing list