Remove leftovers from early versions of --detect-shared-borders

This commit is contained in:
Eric Fischer
2016-10-26 15:47:26 -07:00
parent 93d3c40593
commit 8296190487
3 changed files with 13 additions and 27 deletions
+3 -3
View File
@@ -469,7 +469,7 @@ void *partial_feature_worker(void *v) {
}
if (!already_marked) {
drawvec ngeom = simplify_lines(geom, z, line_detail, !(prevent[P_CLIPPING] || prevent[P_DUPLICATION]), (*partials)[i].simplification, already_marked);
drawvec ngeom = simplify_lines(geom, z, line_detail, !(prevent[P_CLIPPING] || prevent[P_DUPLICATION]), (*partials)[i].simplification);
if (t != VT_POLYGON || ngeom.size() >= 3) {
geom = ngeom;
@@ -922,7 +922,7 @@ bool find_common_edges(std::vector<partial> &partials, int z, int line_detail, d
}
}
if (!(prevent[P_SIMPLIFY] || (z == maxzoom && prevent[P_SIMPLIFY_LOW]))) {
simplified_arcs[ai->second] = simplify_lines(dv, z, line_detail, !(prevent[P_CLIPPING] || prevent[P_DUPLICATION]), simplification, false);
simplified_arcs[ai->second] = simplify_lines(dv, z, line_detail, !(prevent[P_CLIPPING] || prevent[P_DUPLICATION]), simplification);
} else {
simplified_arcs[ai->second] = dv;
}
@@ -1617,7 +1617,7 @@ long long write_tile(FILE *geoms, long long *geompos_in, char *metabase, char *s
if (layer_features[x].coalesced && layer_features[x].type == VT_LINE) {
layer_features[x].geom = remove_noop(layer_features[x].geom, layer_features[x].type, 0);
layer_features[x].geom = simplify_lines(layer_features[x].geom, 32, 0,
!(prevent[P_CLIPPING] || prevent[P_DUPLICATION]), simplification, false);
!(prevent[P_CLIPPING] || prevent[P_DUPLICATION]), simplification);
}
if (layer_features[x].type == VT_POLYGON) {