Douglas-Peucker transfer-node elimination on pre-processor level

This commit is contained in:
Arndt Brenschede 2019-08-04 10:22:50 +02:00
parent aa7bb37a99
commit d2aaeb2988
3 changed files with 22 additions and 1 deletions

View file

@ -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;