I forgot I already added an option for this

This commit is contained in:
Erica Fischer
2024-07-30 15:21:31 -07:00
parent 744e8b61c9
commit 7057c2bafe
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -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')
+1 -1
View File
@@ -1522,7 +1522,7 @@ long long write_tile(decompressor *geoms, std::atomic<long long> *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