|
No timestamps in KML file?
|
|
02.06.2011, 10:30 PM
Post: #1
|
|||
|
|||
|
No timestamps in KML file?
Hi, Second post.
Why do KML files converted from GPX have no timestamps? This means they cannot use GE's Time Slider. -- Terry, East Grinstead, UK |
|||
|
03.06.2011, 09:06 PM
Post: #2
|
|||
|
|||
RE: No timestamps in KML file?
(02.06.2011 10:30 PM)terrypin Wrote: Why do KML files converted from GPX have no timestamps? I guess that the Source file contains no timestamps either? Can you post an example? -- Christian |
|||
|
04.06.2011, 11:06 AM
Post: #3
|
|||
|
|||
|
RE: No timestamps in KML file?
@Christian: Attached is a part of a motorbike-tour. Recorded at a TomTom with logpos.
Time and speed are recorded and shown very well in original *.itn format. Time and speed are lost when saving the data via RC as *.kml. No hidden options are set for *.kml at my system. 110604.zip (Size: 3.31 KB / Downloads: 2)
-- Matthias |
|||
|
05.06.2011, 11:52 AM
Post: #4
|
|||
|
|||
RE: No timestamps in KML file?
(04.06.2011 11:06 AM)kumo Wrote: Time and speed are recorded and shown very well in original *.itn format. Now, I understand the problem. You might call it a bug or a feature. The reason for this behaviour is, that RouteConverter stores a Track or Route in KML as a LineString where there is no possibility to store a timestamp: Quote: <LineString> If you're using Waypoint List, a Placemark is used and the timestamp is preserved: Code: <Placemark>So the workaround to keep timestamps is: change the type of the position list to "Waypoint List" before saving as KML. Does this help? Any ideas how to improve this? -- Christian |
|||
|
06.06.2011, 10:40 AM
(This post was last modified: 06.06.2011 10:42 AM by terrypin.)
Post: #5
|
|||
|
|||
|
RE: No timestamps in KML file?
I'm confused. When I drag a GPX (with timestamps) into Google Earth, the default pop-up dialog looks like this:
http://dl.dropbox.com/u/4019461/GE-GPX-Tracks-1.jpg I have to enable the option 'Create KML linestrings' if I want to use the time data in GE (e.g. the Time Slider). That seems hard to square with "RouteConverter stores a Track or Route in KML as a LineString where there is no possibility to store a timestamp." To answer your last question, changing my tracks to waypoints would definitely not be an acceptable solution for me! -- Terry, East Grinstead, UK |
|||
|
07.06.2011, 08:03 AM
Post: #6
|
|||
|
|||
RE: No timestamps in KML file?
(06.06.2011 10:40 AM)terrypin Wrote: I'm confused. When I drag a GPX (with timestamps) into Google Earth, the default pop-up dialog looks like this: Now, I'm confused. I thought we were talking about opening KML files in Google Earth, since that is the native format of Google Earth? So you open GPX in Google Earth? -- Christian |
|||
|
07.06.2011, 11:01 PM
(This post was last modified: 07.06.2011 11:02 PM by terrypin.)
Post: #7
|
|||
|
|||
|
RE: No timestamps in KML file?
"So you open GPX in Google Earth?"
Yes, of course, if I want to view the track in GE. But maybe we should return to my original question! I'll re-phrase it. Let's say I want to use RC to convert xyz.GPX (with timestamps) to KML. I open the GPX in RC then use File > Save As, and specify Google Earth. But the resultant file xyz.KML does not contain any time data. Why not? Did you try to reproduce that? -- Terry, East Grinstead, UK |
|||
|
08.06.2011, 07:39 AM
(This post was last modified: 08.06.2011 07:39 AM by routeconverter.)
Post: #8
|
|||
|
|||
RE: No timestamps in KML file?
(07.06.2011 11:01 PM)terrypin Wrote: "So you open GPX in Google Earth?" That is not self-evident. KML is the natural format of Google Earth and it makes a difference whether the format is GPX or KML for the answer of your question. (07.06.2011 11:01 PM)terrypin Wrote: But maybe we should return to my original question! I'll re-phrase it. Now it's clearer, what you're doing. And I've already answered this question in my first post. In short: if you don't use "Waypoint list" as a type there is no way to representation timestamps in KML as the format does not allow it. If you find a different way to represent timestamps, please provide test files. -- Christian |
|||
|
08.06.2011, 04:40 PM
Post: #9
|
|||
|
|||
|
RE: No timestamps in KML file?
Eh? Of course KML files support timestamps! Here's an example.
http://dl.dropbox.com/u/4019461/KMLwithTimeStamps.kml -- Terry, East Grinstead, UK |
|||
|
08.06.2011, 05:24 PM
(This post was last modified: 08.06.2011 05:25 PM by routeconverter.)
Post: #10
|
|||
|
|||
RE: No timestamps in KML file?
(08.06.2011 04:40 PM)terrypin Wrote: Eh? Of course KML files support timestamps! Here's an example. We're getting closer and closer. The example uses <Placemark> and a new KML Extension introduced with Google Earth 5: Quote: <gx:Track> Note, that this is a Google-specific extension to KML 2.2 and currently RouteConverter only reads this structure and displays it as a Track. Feel free to extend the code and submit a merge request. -- Christian |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)
Search
Member List
Calendar
Help



