
26 Nov
2009
26 Nov
'09
10:53 p.m.
As I said in a previous posting on this topic:
mb> Whenever a routable way gets split to limit the number of points or mb> nodes it makes a new list of points so any changes to the points in the mb> new list will not be visible in the original list.
So, wherever you see splitWay() that's where the "copying" occurs.
Maybe it is too late in the evening for me to understand the problem. In the splitWay() the line is splitted. Yes, a new list<Coord> is generated. But the points inside it are moved from one list to another. There is no new Coord(). So a CoordNode stays a CoordNode.