[OSM-talk] An old question about GPX traces

matthew-osm at newtoncomputing.co.uk matthew-osm at newtoncomputing.co.uk
Wed Sep 13 20:56:23 BST 2006


On Wed, Sep 13, 2006 at 07:38:31PM +0100, Nick Whitelegg wrote:
> On Wednesday 13 Sep 2006 19:04, Nicola Ranaldo wrote:
> > Is osmserver still refusing gpx traces without valid timestamps?
> 
> I believe so, yes - to minimise the possibility of 'fake' gpx tracks made out 
> of copyright data.

...and to exclude those who have a GPS that does not record timestamps.

For a simple answer, the following fix may work:

  sed -e 's/\(<trkpt[^>]\+>\)/\1<time>2006-01-01T00:00:00.000Z<\/time>/' \
    withouttime.gpx > withtime.gpx

-- 
Matthew




More information about the talk mailing list