<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.28.3">
</HEAD>
<BODY>
On Sun, 2011-09-18 at 16:23 +0200, Ale wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
More information right now. The file *.kml is created from a Garmin Trainig Center, and recorded by a Garmin Device.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
Is probably the Garmin Software that it uses a particular .*kml format that includes, with a sintax for itself only, more information?
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
</BLOCKQUOTE>
<BR>
I see you problem now. QGIS uses OGR to read all the variety of vector data formats. Indeed the "Placemark" tag in KML, AFAIK in not a "real" attribute that OGR recognizes. It's a "Google thing" used to place the pushpin symbol on a 3d map.<BR>
Here's a trick that might help you along: You can use the gpsbabel utility to read a kml file and create an intermediate Comma Separated text file. Then import that text file as a layer into QGIS, and it will retain some of the attributes (altitude, name, description). This will work *only for a point* KML layer.<BR>
The gpsbabel command will look like:<BR>
gpsbabel -i kml -o unicsv -f <your_file.kml> -F your_output.csv <BR>
<BR>
Then in the Delimited Text File plugin choose the your_output.csv file, check Comma as the delimiter, and make sure Longitude and Latitude are selected for the X-Y columns, and you should get your layer into QGIS, with a few more attrib columns. <BR>
HTH<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
thanks
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
2011/9/18 Ale <<A HREF="mailto:alessandro.nardin.it@gmail.com">alessandro.nardin.it@gmail.com</A>><BR>
<BLOCKQUOTE>
Hi all
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
First forgive my bad english...<BR>
This is my first message at this mailing list
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
I've a *.kml file with lat long alt and other information...speed, time elapsed and so on:
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
________________________________________________________________________
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<Placemark>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
< description><![CDATA[<b>9.13.56</b><br/><b> Time Elapsed: </b>0:08:24<br/><b> Distance Elapsed: </b>2.4 km<br/><b> Speed: </b>13 km/h<br/><b> Pace: </b>4:36 /km]]></description>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<TimeSpan>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<begin>2011-09-03T07:13:48Z</begin>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<end>2011-09-03T07:13:56Z</end>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
</TimeSpan>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<styleUrl>#point</styleUrl>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<Point>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<coordinates>9.1840996686,45.8018461335,447.6309814453</coordinates>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
</Point>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
</Placemark>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
______________________________________________________________________
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
How I can import in Qgis Wroclaw placing other information in the attributes chart?
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
I traslate it in *.gpx, the in *.shp, but I'm obtainig only the coordinates, neither the altitude or something else
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
Triyng to cut-the-line on that *.shp file, Qgis brick....
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
any ideas? thanks!
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
This mail was received via Mail-SeCure System.
<PRE>
_______________________________________________
Qgis-user mailing list
<A HREF="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</A>
<A HREF="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</A>
This mail was received via Mail-SeCure System.
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>