osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.65k stars 1.02k forks source link

Suggestion: Easier remove points in middle of the track #17516

Open vsassone opened 1 year ago

vsassone commented 1 year ago

While editing a map, it would be a useful addition to be able to delete all points between two given ones, as one often wants to clean a recorded track up by removing detours, misturns, etc. Haven’t found a way to do that apart from splitting the track in three, deleting the unwanted segment, then “join” back the remaining two. This is laborious, error prone, and the result is not really the same.

Cheers and thanks.

vshcherb commented 1 year ago

CC @DmitryAlexei I think It's already possible to do it, will get back with more inof

vshcherb commented 1 year ago

Suggestion: scroll in list while selecting point on the map

vsassone commented 1 year ago

Thanks, what list? The list of points? It’s very unwieldy, I couldn’t even select a specific point on it without scrolling over thousands of them...

On 30 Jun 2023, at 14:29, vshcherb @.***> wrote:

CAUTION: This e-mail originated outside the University of Southampton.

Suggestion: scroll in list while selecting point on the map

— Reply to this email directly, view it on GitHubhttps://github.com/osmandapp/OsmAnd/issues/17516#issuecomment-1614654385, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGFTK3AESPMYE7L5JK3NT5LXN3IDBANCNFSM6AAAAAAZXAKTFI. You are receiving this because you authored the thread.Message ID: @.***>

DmitryAlexei commented 1 year ago

At the moment, you can delete a fragment from a track using the method described above or by deleting points. To make working with the track easier, the number of points can be reduced using the GPS filter. (see https://osmand.net/docs/user/map/track-context-menu#gps-filter).

However, as correctly noted, to find the right point you sometimes have to scroll through a long list of them. And when you tap on the point either on the map or in the list, Point context menu pops up, and you cannot see the whole picture.

Suggestions:

vsassone commented 1 year ago

Apologies, I’m not sure Im getting the suggestions here. The way to delete a portion of a track is to (1) split it at the two points, (2) exit the edit function and delete the mid section, (3) use the join segments option. This works but isn’t perfect because it leaves a track in two segments, and if you repeat it multiple times it leaves you with a track highly segmented where the segments have no logical sense.

Sound like it’s been suggested above that this can be done through the point list. Interesting. Firstly, I don’t know how to efficiently select a point of the list, say by clicking on the track on the map. I have to (1) click on the map, (2) see the number associated with the first point to be deleted, (3) click again to (4) see the number of the last point to be deleted, (4) go to the list of points, (5) scroll down with a finger (say I’m on a phone or tablet) potentially thousands and thousands of points to reach the first point, (6) repeatedly click on the X on the side until I reach the final point, which again could be hundreds and hundreds of times. Is this what is been suggested? Very laborious and unwieldy, hope I’m missing a trick here because this not viable. Much better to split the track into segments, tbh.

(Aside comment: would be nice to have am option in the context menu to move from a point on the map to the same point in the list or graph.)

Perhaps a simple way to implement the functionality i’m after would be to add a way to “merge segments”, not simply “join” them, so that the results of a merge is to reduce two segments into a single one. This could be used after the “splitting and segment deleting technique” above to bring back the track to the correct number of segments as desired by the designer.

Cheers.

DmitryAlexei commented 1 year ago

I agree with the above. A little remark about working with points of a track before deleting them manually.

You can reduce the number of points of the track using GPS filter beforehand (see https://osmand.net/docs/user/map/track-context-menu#gps-filter). GPS filter can help you get a more accurate graph and visual route line without distortion or recording noise.

vsassone commented 1 year ago

Not sure about how the gps filter works, will check it out. Does it mask points temporarily, or rather removes them for good?

scaidermern commented 1 year ago

It removes points permanently if you save the track. This is useful for reducing noise in the track.