[OSM-talk] HOWTO: edit GPX tracks using JOSM
Tom Hughes
tom at compton.nu
Sun May 18 08:22:07 BST 2008
In message <2EC55321-31F8-4BF4-8B5E-25AFAEB0A72B at shaunmcdonald.me.uk>
Shaun McDonald <shaun at shaunmcdonald.me.uk> wrote:
> On 18 May 2008, at 00:50, Rory McCann wrote:
>
> > I've just got my NaviGPS BGT-31 and I made my first trace today. I got
> > the data off it with gpsbabel 1.3.5 and got it into GPX format.
> > However
> > I wanted to clean it up a bit first. I couldn't find any way to edit
> > it.
> > I was able to convert it to OSM format using gpsbabel with this
> > command: "gpsbabel -i gpx -f trace.gpx -o osm -F trace.osm", I could
> > then open it in JOSM and remove some bad points. However coverting
> > that
> > OSM file back into GPX for upload was troublesome.
>
> JOSM can do these conversions natively.
...but it's generally considered better to trace manually than rely
on automatic conversions.
> > I first tried to save it as GPX format in JOSM, but that didn't save
> > the
> > timestamp data, which broke the import. Then I tried converting the
> > OSM
> > file to GPX using gpsbabel, but that laid out the file differently
> > from
> > before, so the importer couldn't see the points in it.
>
> I think the fact that you converted it using gpsbabel, meant that the
> timestamp info was lost at that point, hence why you need to convert
> it in JOSM. To do this you context click on the GPX layer in JOSM and
> choose "convert to data layer".
The data layer doesn't need timestamps - the server will add them.
The timestamps should be in the original GPX file produced by
gpsbabel so that should be uploadable, and it is the original
trace we want, not something that has been heavily converted.
Tom
--
Tom Hughes (tom at compton.nu)
http://www.compton.nu/
More information about the talk
mailing list