This object is in archive! 

Add time to coordinates

reza shared this question 8 years ago
Answered

I need to know when I was in a certain coordinate ,


I used my tracks of google the kml format contains <coord> and <when> that shows time of the coordinate, but when I used this app and exported a kml file there was no when tag .

how can I add it in the app or how can I understand when I was in that coordinate?

Best Answer
photo

currently there is no single pass method.

for now you have to do it in a second step.

- export track gpx

- export kmz points,... (eg map content without track)

- import both files in your tool

Replies (2)

photo
1

If your import file has no timestamps inside, Locus isn't able to do it for you.


Please import the right file format.

photo
1

oh sorry I forgot to mention I am exporting from locus , and viewing kml file in my browser

photo
1

oh. please attach a Locus exported file (zip format) as an example.

photo
1

here is my kml file

Files: doc.xml
photo
1

ah you export file as kml.

try to export gpx

photo
1

I know my question is how can I access time of coordinates with kml file

photo
1

one option:

- export your track as .gpx as gynta proposed

- open this gpx with Google Earth

- right click on track > "save place as" and select kml or kmz

photo
1

ok, we should start again.

We talking about trackpoints (eg Point 67 in your track)

or we talking about your Points ( eg "Point 8 aud")?


kml doesn't includes timestamps for trackpoints - only for points.

Export from locus as gpx and import into your favorite browser mapviewer.

You sholud see trackpoint <time> now.


What do you want to do, after viewing insinde your browser?

edit and export?

photo
2

well good thing about kmz files is that they contain files too!

but gpx is just a simple file like kml

p.s: I want to save it in my web application .

photo
1

currently there is no single pass method.

for now you have to do it in a second step.

- export track gpx

- export kmz points,... (eg map content without track)

- import both files in your tool

photo
1

I am completely agree with reza when he says :


"well good thing about kmz files is that they contain files too!

but gpx is just a simple file like kml"

photo
1

Good day reza, guys,


if I remember correctly, all coordinates in KML are just single line separated with spaces and commas. If <when> tag allows to add also a time to these coordinates, size of KML should rise a lot. Because during last six years when Locus is developed, I do not remember that someone needed such improvement, I believe there is no serious reason to make KML more complicated and a lot larger then now. Really, if You needs a precise 1:1 copy of your recorded track, please use GPX 1.1 file or any of above suggested methods how to convert exported GPX to KML. Thanks for understanding.

photo
1

Hello hellooooo it's me ! :-)


http://help.locusmap.eu/topic/kml-export-fields


Cheers !


;-)

photo
2

Hello Fifi, well mentioned topic ... I got there no answer on questions except of yours. Absolute time to chart was added ( as I showed on screenshot ) and time in Google Earth should be also visible uwing a GPX file, right?

In mentined topic, I thought you wants to extend KML for more then just time values, but you are right, it is similar.

Replies have been locked on this page!

You can't vote. Please authorize!