A Thompson writes:
> You can do it in OsmAnd by loading the track into the "Measure Distance"
> tool, which has a dual role as a tool for manually creating and editing GPX
> tracks.
[ ... ]
> A limitation is that if your track has very many points it takes
> ridiculously long to scroll down the list to delete points from the end.
> For privacy, I often want to delete the start and end of a recorded track
> before sharing it, so this is a pain. Does anyone know a solution?
I don't have a solution within OsmAnd, but tracks are pretty easy to
edit on a computer. Load the .gpx file into a text editor (not a
word processor) and you'll see each point looking something like:
2466.79
2020-09-02T18:44:09Z
4
0.88
If you already know how many points you want to delete, it's easy.
Just be sure you delete from a to the corresponding
, and don't delete the after the last .
If you aren't how many to delete, I've found the to be
useful in determining bad points.
For instance, after a hike, I invariably get in the car and start
driving away before realizing that I didn't stop track logging. But
that's no problem: when I get home and upload the track, I can
grep speed filename.gpx
(grep is a program on Linux that prints all the lines that have
"speed" in them; Mac has grep too, I'm sure Windows has an
equivalent). Grep prints a bunch of lines that look like:
1.05
0.15
1.05
0.57
0.81
0.61
0.96
0.7
0.53
0.98
... hundreds of lines like that, and at the end it'll be something like:
0.94
0.88
2.07
5.02
15.42
25.67
31.14
44.52
See what's happening? The hike is all under about 4 kph, and then
suddenly at the end it goes to much higher speeds, because I got
in the car. So all I have to do is edit the file, search for that
15.42, and delete all the trackpoints from there
to the end.
I know this all probably sounds geeky and difficult, but it really
isn't. Try it and you'll see it's not that bad. I have a program
that lets me point and click to split a track, and as A Thompson
points out, you can do it in OsmAnd: but I find it much quicker and
easier to just open the file in a text editor and delete that way,
if all I need to do is delete a few trackpoints at the end.
Be sure to make a backup of your GPX file first, in case you make
a mistake (like if you delete that all-important ).
...Akkana
--
You received this message because you are subscribed to the Google Groups
"OsmAnd" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to osmand+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/osmand/20200921005353.GB1999%40shallowsky.com.