Skip to content

Commit 7057c2b

Browse files
committed
I forgot I already added an option for this
1 parent 744e8b6 commit 7057c2b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

options.hpp

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#define A_VISVALINGAM ((int) 'v')
2828
#define A_GENERATE_POLYGON_LABEL_POINTS ((int) 'P')
2929
#define A_TRUNCATE_ZOOMS ((int) 't')
30-
#define A_STOP_EARLY ((int) 'x')
3130

3231
#define P_SIMPLIFY ((int) 's')
3332
#define P_SIMPLIFY_LOW ((int) 'S')

tile.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1522,7 +1522,7 @@ long long write_tile(decompressor *geoms, std::atomic<long long> *geompos_in, ch
15221522

15231523
int first_detail = detail, second_detail = detail - 1;
15241524
bool trying_to_stop_early = false;
1525-
if (additional[A_STOP_EARLY]) {
1525+
if (additional[A_TRUNCATE_ZOOMS]) {
15261526
// If we are trying to stop early, there is an extra first pass with full+extra detail,
15271527
// and which loops if everything doesn't fit rather than trying to drop or union features.
15281528
// XXX special case for points below basezoom

0 commit comments

Comments
 (0)