Douglas-Peucker transfer-node elimination on pre-processor level
This commit is contained in:
parent
aa7bb37a99
commit
d2aaeb2988
3 changed files with 22 additions and 1 deletions
|
|
@ -237,6 +237,7 @@ public class WayLinker extends MapCreatorBase
|
|||
{
|
||||
r.fromLon = n1.ilon;
|
||||
r.fromLat = n1.ilat;
|
||||
n1.bits |= OsmNodeP.DP_SURVIVOR_BIT;
|
||||
}
|
||||
}
|
||||
if ( r.toWid == wid )
|
||||
|
|
@ -245,6 +246,7 @@ public class WayLinker extends MapCreatorBase
|
|||
{
|
||||
r.toLon = n1.ilon;
|
||||
r.toLat = n1.ilat;
|
||||
n1.bits |= OsmNodeP.DP_SURVIVOR_BIT;
|
||||
}
|
||||
}
|
||||
r = r.next;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue