Add a test

This commit is contained in:
Erica Fischer
2024-11-18 21:43:35 -08:00
parent 1afe03ed96
commit 08f9d0d71d
3 changed files with 81 additions and 0 deletions
+3
View File
@@ -2380,6 +2380,9 @@ std::pair<int, metadata> read_input(std::vector<source> &sources, char *fname, i
double want = nearby_ft / 2;
maxzoom = ceil(log(360 / (.00000274 * want)) / log(2) - full_detail);
if (maxzoom < 0) {
maxzoom = 0;
}
if (!quiet) {
fprintf(stderr,
"Choosing a maxzoom of -z%d for features typically %d feet (%d meters) apart, ",