[OSM-talk] An old question about GPX traces
Joerg Ostertag (OSM Munich/Germany)
openstreetmap at ostertag.name
Wed Sep 13 21:34:22 BST 2006
On Wednesday 13 September 2006 21:56, matthew-osm at newtoncomputing.co.uk wrote:
> 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
or
osmfilter.pl <filename.gpx>
;-)
--
Jörg (Germany, Munich)
http://www.ostertag.name/
TeamSpeak2: ts2.ostertag.name, user: tweety, Channel: "GPS Drive"
irc://irc.oftc.net/#osm
More information about the talk
mailing list