Permalink
Browse files

+ work-in-progress..

  • Loading branch information...
1 parent fe011a9 commit a537c58afa450e1ffe6bbd8978d2e122b55c9942 @artemp artemp committed Sep 26, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 include/mapnik/simplify_converter.hpp
@@ -252,12 +252,12 @@ struct MAPNIK_DECL simplify_converter
unsigned output_vertex_sleeve(double* x, double* y)
{
vertex2d vtx(vertex2d::no_init);
- std::size_t min_size = 3;
+ std::size_t min_size = 1;
while ((vtx.cmd = geom_.vertex(&vtx.x, &vtx.y)) != SEG_END)
{
- if ((std::fabs(vtx.x - previous_vertex_.x) < 0.5) &&
- (std::fabs(vtx.y - previous_vertex_.y) < 0.5))
- continue;
+ //if ((std::fabs(vtx.x - previous_vertex_.x) < 0.5) &&
+ // (std::fabs(vtx.y - previous_vertex_.y) < 0.5))
+ // continue;
if (status_ == cache &&
vertices_.size() >= min_size)

0 comments on commit a537c58

Please sign in to comment.