X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=tim%2Fprune%2Ffunction%2Fcompress%2FCompressTrackFunction.java;h=d4ecc8898e59208de1c1aa815c7067860e5bbc7e;hb=649c5da6ee1bbc590699e11a92316ece2ea8512d;hp=62bf1f14a4802d41b40355b4a67250f0fc0cda95;hpb=112bb0c9b46894adca9a33ed8c99ea712b253185;p=GpsPrune.git diff --git a/tim/prune/function/compress/CompressTrackFunction.java b/tim/prune/function/compress/CompressTrackFunction.java index 62bf1f1..d4ecc88 100644 --- a/tim/prune/function/compress/CompressTrackFunction.java +++ b/tim/prune/function/compress/CompressTrackFunction.java @@ -72,7 +72,6 @@ public class CompressTrackFunction extends GenericFunction */ private boolean[] preview() { - // System.out.println("track dialog preview"); int numToDelete = 0; boolean[] deleteFlags = new boolean[_track.getNumPoints()]; for (int i=0; i<_algorithms.length; i++) @@ -157,7 +156,8 @@ public class CompressTrackFunction extends GenericFunction new DuplicatePointAlgorithm(_track, details, changeListener), new ClosePointsAlgorithm(_track, details, changeListener), new WackyPointAlgorithm(_track, details, changeListener), - new SingletonAlgorithm(_track, details, changeListener) + new SingletonAlgorithm(_track, details, changeListener), + new DouglasPeuckerAlgorithm(_track, details, changeListener) }; } @@ -172,7 +172,7 @@ public class CompressTrackFunction extends GenericFunction for (int i=0; i