mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 16:35:40 +02:00
Don't run shell filters if the current zoom is below the minzoom
This commit is contained in:
@@ -1786,6 +1786,11 @@ long long write_tile(FILE *geoms, std::atomic<long long> *geompos_in, char *meta
|
||||
FILE *prefilter_read_fp = NULL;
|
||||
json_pull *prefilter_jp = NULL;
|
||||
|
||||
if (z < minzoom) {
|
||||
prefilter = NULL;
|
||||
postfilter = NULL;
|
||||
}
|
||||
|
||||
if (prefilter != NULL) {
|
||||
setup_filter(prefilter, &prefilter_write, &prefilter_read, &prefilter_pid, z, tx, ty);
|
||||
prefilter_fp = fdopen(prefilter_write, "w");
|
||||
|
||||
Reference in New Issue
Block a user