From 7057c2bafeb95486c94a8c259dcce95a0dc966c3 Mon Sep 17 00:00:00 2001 From: Erica Fischer Date: Thu, 20 Jun 2024 15:09:55 -0700 Subject: [PATCH] I forgot I already added an option for this --- options.hpp | 1 - tile.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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