Forum: General Topics

Forums / General Topics / Removing duplicate waypoints in all groups

 

Subject:Removing duplicate waypoints in all groups 

shchenka

7:39
Saturday
6-Aug-2011

In the TMJ server in the waypoints page when you have selected all groups and click "delete duplicate waypoints in group", which group is affected, i.e. if there are duplicate waypoints in several groups which ones get deleted ?
 

Stephen

13:18
Saturday
6-Aug-2011

Location:
Surrey, UK

Phone Model:
BB 9800 Torch
BlackBerry 8900
SE W910i
Nokia 5800

Hi Shchenka,

Looking at the code (its a while since I wrote it!) the first waypoint as ordered in the displayed list is kept, with subsequent ones being discarded. Therefore if you sort the list by Group then the waypoint in the lowest group number (so the highest one in the group list box) will be the one that is kept, with others being discarded.

(Note that sorting by Name or Type might result in a random pattern of deletion since the group ordering will then be lost)

Hope that makes sense!!

Cheers,
Stephen
 
 

shchenka

18:50
Sunday
7-Aug-2011

Thank you! It's good to know, as sometimes I tend to treat one group as a master, and others as temporary only, and would not like to loose the waypoints from the master in the deduplication process (and have to rebuild it then).
 

(You must be logged in to post a reply to this thread)