Drop linetos smaller than tile resolution before doing normal simplification

Since simplification is rather expensive
This commit is contained in:
Eric Fischer
2015-07-01 12:16:50 -07:00
parent af13a95dc1
commit 18cdcb0732
3 changed files with 13 additions and 9 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ typedef std::vector<draw> drawvec;
drawvec decode_geometry(char **meta, int z, unsigned tx, unsigned ty, int detail, long long *bbox);
void to_tile_scale(drawvec &geom, int z, int detail);
drawvec remove_noop(drawvec geom, int type);
drawvec remove_noop(drawvec geom, int type, int shift);
drawvec clip_point(drawvec &geom, int z, int detail, long long buffer);
drawvec clip_poly(drawvec &geom, int z, int detail, int buffer);
drawvec reduce_tiny_poly(drawvec &geom, int z, int detail, bool *reduced, double *accum_area);