This object is in archive! 

Allow to edit created timestamp for Points and Tracks or by <gx:TimeStamp>

StehtimSchilf shared this idea 3 years ago
Completed

Hi

A "created timestamp" is a "created timestamp" - I agree.

In our case (mushroom hunter and gatherers) our members can fill in an online form with location, type and discover date of mushrooms and then download a aggregated gpx file.

But when I import said gpx/kmz file into Locus Map Pro, locus map ignors the defined XML-Tag <gx:TimeStamp> and sets the creation date to the current time stamp which is obviously not useful regarding mushrooms, as we cannot sort by date.

A similar case is the observation of wild life to track their steps chronologically. But when ever I export/import the POIs/Tracks the created date is messed up or it is impossible for a groups of people to work on the same type of POIs and share them.

A third case concerns (WW2) battle locations. I'd like to edit the creation date to the battle date - yes I know, there were battle going on for months! Then I could sort the battle locations in chronological orders.


So my request is simple:

  • allow to edit the created timestamp of Points and Tracks
  • set the created timestamp of Points and Tracks according the XML-Timestamp. In order to not mess up the current behaviour you may add a switch on the import screen: "use file date" or something similar

And now, using a date prefix for the name is not an option, as we have "not-so-IT-savy" mushroom gatherers.

Thank you

Replies (5)

photo
1

Hello,

A "created timestamp" is a "created timestamp" - nicely wrote :).

Anyway, Locus Map should already use "TimeStamp" tag as I see, but only for points, not tracks (I'll improve this). Based of your description, it does not work, right? May please share with me a sample file for the test? Thank you.

Jiří M. aka Menion

photo
1

Hi Menion

please have a look at the attached file with its xml-tag

<gx:TimeStamp>
<when>1476-12-21T17:22:14Z</when>
</gx:TimeStamp>

After the import, the when-tag is ignored.

I've created the kmz by LocusMap Pro: I added the POIs on the map, exported them, unzipped the kmz, edited the contained doc.xml file, zipped it again and imported it.

It would be so nice, if you could let us use the when-timestamp!

cheerioh

SiS

photo
1

Hello SiS,

thanks for the shared file. I've found an option for how to enable these "old times". Unfortunately, the new version 3.50 is already prepared (and partially published), so you will have to wait one more month on the next version to check this change.

Menion

photo
1

Thank you very much for implementing an option to our problem!

We are looking forward for the next release 3.5.1

SiS

photo
1

Hello Menion

I've updated to 3.56.3 and imported all our tracks again and after the import, the created time stamp is of today.


What I did, was exported tracks from LocusMaps 3.56.3 of my device using "tracks > 3 dots > export" - "export in a single file" which gave me a .gpx file. then imported said .gpx file to my tablet with LocusMap 3.56.3. After the import every single track has the import timestamp and not the real "created" time stamp.

I've checked the content of the .gpx file and within the xml content of a single file:

<metadata>

<desc>File with points/tracks from Locus Map Pro/3.55.1</desc>

<time>2021-12-14T11:58:53.467Z</time>

</metadata>

<trk>

<name>2021-12-02 15:47 d12 d3 Final</name>

<desc>

<![CDATA[<!-- desc_gen:start -->

<font color="black"><table width="100%"><tr><td><table width="100%"><tr><td align="left" valign="center"><small><b>Distance</b></small></td><td align="center" valign="center">123 m</td></tr>

<tr><td align="left" valign="center"><small><b>Created</b></small></td><td align="center" valign="center">2021-12-02 11:47:34</td></tr>

<tr><td align="left" valign="center"><small><b>Max. speed</b></small></td><td align="center" valign="center">11.6 km/h</td></tr>

<tr><td align="left" valign="center"><small><b>Pace</b></small></td><td align="center" valign="center">07:19 min/km</td></tr>

<tr><td align="left" valign="center"><small><b>Points</b></small></td><td align="center" valign="center">6</td></tr>

</table></td></tr><tr><td colspan="1"><hr></td></tr><tr><td><table width="100%"><tr><td align="left" valign="center"><small><b></b></small></td><td align="center" valign="center">All</td><td align="center" valign="center">Speed > 0</td></tr>

<tr><td align="left" valign="center"><small><b>Avg. speed</b></small></td><td align="center" valign="center">8.2 km/h</td><td align="center" valign="center">8.2 km/h</td></tr>

<tr><td align="left" valign="center"><small><b>Track time</b></small></td><td align="center" valign="center">0 h : 00 min : 54 sec</td><td align="center" valign="center">0 h : 00 min : 54 sec</td></tr>

</table></td></tr><tr><td colspan="1"><hr></td></tr><tr><td><table width="100%"><tr><td align="left" valign="center"><small><b>Min. altitude</b></small></td><td align="center" valign="center">-4 m</td></tr>

<tr><td align="left" valign="center"><small><b>Max. altitude</b></small></td><td align="center" valign="center">4 m</td></tr>

</table></td></tr><tr><td colspan="1"><hr></td></tr><tr><td><table width="100%"><tr><td align="left" valign="center"><small><b></b></small></td><td align="center" valign="center">Elevation</td><td align="center" valign="center">Distance</td></tr>

<tr><td align="left" valign="center"><small><b>Uphill</b></small></td><td align="center" valign="center">1 m</td><td align="center" valign="center">44 m</td></tr>

<tr><td align="left" valign="center"><small><b>Downhill</b></small></td><td align="center" valign="center">-9 m</td><td align="center" valign="center">79 m</td></tr>

<tr><td align="left" valign="center"><small><b>Flat</b></small></td><td align="center" valign="center">0 m</td><td align="center" valign="center">0 m</td></tr>

</table></td></tr></table></font>

<!-- desc_gen:end -->]]>

</desc>


There is a

<time>2021-12-14T11:58:53.467Z</time>
Tag which is used for the created timestamp. but in the -tag there is also CDATA containing the original timestamp:

<tr><td align="left" valign="center"><small><b>Created</b></small></td><td align="center" valign="center">2021-12-02 11:47:34</td></tr>


I could not find your "option" you mentioned in your post.


How can I export tracks & points from LocusMap and Import to LocusMap again keeping all metadata identical?

I could write a script, which parses all the files in the .gpx extracts the -value of the Created-CDATA and overwrite the -tag - im sure I'm overseeing something?


thank you

photo
1

Hello,

unfortunately tracks does not have a support for time value like a points. What app did during import is that it pick a time of the first loaded location object and use it as "created" time for whole track. Are you exporting own recorded tracks? Then location objects should have time attached and upon import, it should be used.

If this does not work as I describe, may you please share with me one track for test of this behavior? Thanks

Menion

Replies have been locked on this page!