logo separator

[mkgmap-dev] [PATCH v1] make DP filter avoid removing points located at nodes

From Johann Gail johann.gail at gmx.de on Thu Nov 26 22:53:58 GMT 2009

> 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.




More information about the mkgmap-dev mailing list