Change simplification policy.

This commit is contained in:
vng 2011-01-02 23:20:10 +02:00 committed by Alex Zolotarev
parent ad5cbb0539
commit d1e4089995

View file

@ -258,7 +258,7 @@ void FeatureBuilderGeomRef::SimplifyPoints(points_t const & in, points_t & out,
{
if (in.size() >= 2)
{
SimplifyDP<mn::DistanceToLineSquare<m2::PointD> >(in.begin(), in.end()-1,
SimplifyNearOptimal<mn::DistanceToLineSquare<m2::PointD> >(50, in.begin(), in.end()-1,
my::sq(scales::GetEpsilonForLevel(level)), MakeBackInsertFunctor(out));
switch (out.size())