reduce forest landcover min zoom to 7 (#176)

This commit is contained in:
Michael Barry
2022-04-14 05:39:01 -04:00
committed by GitHub
parent 0312928b44
commit 7631199242
2 changed files with 3 additions and 3 deletions

View File

@@ -128,7 +128,7 @@ public class Landcover implements
.setAttr(Fields.CLASS, clazz)
.setAttr(Fields.SUBCLASS, subclass)
.setNumPointsAttr(TEMP_NUM_POINTS_ATTR)
.setMinZoom(WOOD_OR_FOREST.contains(subclass) ? 9 : 7);
.setMinZoom(7);
}
}

View File

@@ -105,7 +105,7 @@ public class LandcoverTest extends AbstractLayerTest {
"class", "wood",
"_minpixelsize", 8d,
"_numpointsattr", "_numpoints",
"_minzoom", 9,
"_minzoom", 7,
"_maxzoom", 14
)), process(polygonFeature(Map.of(
"natural", "wood"
@@ -115,7 +115,7 @@ public class LandcoverTest extends AbstractLayerTest {
"subclass", "forest",
"class", "wood",
"_minpixelsize", 8d,
"_minzoom", 9,
"_minzoom", 7,
"_maxzoom", 14
)), process(polygonFeature(Map.of(
"landuse", "forest"