Merge pull request #2393 from strk/2.3.x-pgis-simplify-20th

Bring postgis simplification factor back to 1/20 of a pixel
This commit is contained in:
Dane Springmeyer 2014-08-26 21:25:14 -07:00
commit 5ae55a07e2

View file

@ -746,7 +746,7 @@ featureset_ptr postgis_datasource::features_with_context(query const& q,processo
// 1/20 of pixel seems to be a good compromise to avoid // 1/20 of pixel seems to be a good compromise to avoid
// drop of collapsed polygons. // drop of collapsed polygons.
// See https://github.com/mapnik/mapnik/issues/1639 // See https://github.com/mapnik/mapnik/issues/1639
const double tolerance = std::min(px_gw, px_gh) / 2.0; const double tolerance = std::min(px_gw, px_gh) / 20.0;
s << ", " << tolerance << ")"; s << ", " << tolerance << ")";
} }