diff --git a/options.hpp b/options.hpp index db388277..b82f3b22 100644 --- a/options.hpp +++ b/options.hpp @@ -27,7 +27,6 @@ #define A_VISVALINGAM ((int) 'v') #define A_GENERATE_POLYGON_LABEL_POINTS ((int) 'P') #define A_TRUNCATE_ZOOMS ((int) 't') -#define A_STOP_EARLY ((int) 'x') #define P_SIMPLIFY ((int) 's') #define P_SIMPLIFY_LOW ((int) 'S') diff --git a/tile.cpp b/tile.cpp index f681dadd..fc9fbd06 100644 --- a/tile.cpp +++ b/tile.cpp @@ -1522,7 +1522,7 @@ long long write_tile(decompressor *geoms, std::atomic *geompos_in, ch int first_detail = detail, second_detail = detail - 1; bool trying_to_stop_early = false; - if (additional[A_STOP_EARLY]) { + if (additional[A_TRUNCATE_ZOOMS]) { // If we are trying to stop early, there is an extra first pass with full+extra detail, // and which loops if everything doesn't fit rather than trying to drop or union features. // XXX special case for points below basezoom