[Openstreetmap-dev] ISO Dates

SteveC steve at fractalus.com
Thu Sep 15 11:28:23 BST 2005


Nick et al,

osm-editor apparently (I havn't tried myself) accepts gpx files with a
unix timestamp (eg 1126779937) which I think is invalid from the gpx
spec:

http://www.topografix.com/GPX/1/1/gpx.xsd
http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html

Maybe osm-editor just ignores it..

Anyway it's been confusing the GPX upload code on OSM when people upload
GPX files with that. I've hacked it a little bit to detect a unixtime
instead of an ISO datetime and it will work. But I'll turn it off in a
few weeks as it's invalid..

have fun,

SteveC steve at asklater.com http://www.asklater.com/steve/





More information about the dev mailing list