Skip to content

Commit 6280ac6

Browse files
committed
Add warning if --flat-nodes/-F is used in non-slim mode
Fixes #1421
1 parent db36f4c commit 6280ac6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/options.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,10 @@ void options_t::check_options()
715715
}
716716
}
717717

718+
if (!slim && !flat_node_file.empty()) {
719+
log_warn("Ignoring --flat-nodes/-F setting in non-slim mode");
720+
}
721+
718722
// zoom level 31 is the technical limit because we use 32-bit integers for the x and y index of a tile ID
719723
if (expire_tiles_zoom_min > 31) {
720724
expire_tiles_zoom_min = 31;

0 commit comments

Comments
 (0)