[OSM-dev] Tracks without timestamps

Joerg Ostertag (OSM Munich/Germany) openstreetmap at ostertag.name
Fri Jan 12 19:18:13 GMT 2007


On Friday 12 January 2007 16:10, Frederik Ramm wrote:
> Hi,
>
> >>          printf "<time>1999-09-09T%02d:%02d:%02dZ</time>\n",$sec/
> >> 3600,
> >> ($sec/60)%60,$sec%60;
> >
> > Please use the unix epoch (Jan 1st, 1970? Maybe just cast 0 into a
> > time ;)
> > for this, as it is commonly used as bogus time and so it will be
> > easier to
> > fix the database once the server finally understand untimed gpx files.
>
> Until now I used a (different) bogus date for each track, because
> that way I can still get nice lines between track points in josm. If
> I use 0 everywhere, I have to disable the line drawing or I'll just
> get a zigzag nightmare!
>
> But I have only uploaded four or five tracks so far, so the damage is
> limited (and all with dates from the 1970s...)

I think all dates in 1070 are good. This is a definition we can rely on for 
filtering later.


-- 
Jörg (Germany, Munich)

http://www.ostertag.name/
TeamSpeak2: ts2.ostertag.name, user: tweety, Channel: "GPS Drive"
irc://irc.oftc.net/#osm
Tel.: +49 89 420950304




More information about the dev mailing list