From d1e408999593a4decea48077130a06dbb0094c65 Mon Sep 17 00:00:00 2001 From: vng Date: Sun, 2 Jan 2011 23:20:10 +0200 Subject: [PATCH] Change simplification policy. --- indexer/feature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexer/feature.cpp b/indexer/feature.cpp index 2f6376091f..d96886f0a3 100644 --- a/indexer/feature.cpp +++ b/indexer/feature.cpp @@ -258,7 +258,7 @@ void FeatureBuilderGeomRef::SimplifyPoints(points_t const & in, points_t & out, { if (in.size() >= 2) { - SimplifyDP >(in.begin(), in.end()-1, + SimplifyNearOptimal >(50, in.begin(), in.end()-1, my::sq(scales::GetEpsilonForLevel(level)), MakeBackInsertFunctor(out)); switch (out.size())