mirror of
https://github.com/cfpwastaken/planetiler-openmaptiles.git
synced 2026-02-04 04:21:08 +00:00
reduce forest landcover min zoom to 7 (#176)
This commit is contained in:
@@ -128,7 +128,7 @@ public class Landcover implements
|
|||||||
.setAttr(Fields.CLASS, clazz)
|
.setAttr(Fields.CLASS, clazz)
|
||||||
.setAttr(Fields.SUBCLASS, subclass)
|
.setAttr(Fields.SUBCLASS, subclass)
|
||||||
.setNumPointsAttr(TEMP_NUM_POINTS_ATTR)
|
.setNumPointsAttr(TEMP_NUM_POINTS_ATTR)
|
||||||
.setMinZoom(WOOD_OR_FOREST.contains(subclass) ? 9 : 7);
|
.setMinZoom(7);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ public class LandcoverTest extends AbstractLayerTest {
|
|||||||
"class", "wood",
|
"class", "wood",
|
||||||
"_minpixelsize", 8d,
|
"_minpixelsize", 8d,
|
||||||
"_numpointsattr", "_numpoints",
|
"_numpointsattr", "_numpoints",
|
||||||
"_minzoom", 9,
|
"_minzoom", 7,
|
||||||
"_maxzoom", 14
|
"_maxzoom", 14
|
||||||
)), process(polygonFeature(Map.of(
|
)), process(polygonFeature(Map.of(
|
||||||
"natural", "wood"
|
"natural", "wood"
|
||||||
@@ -115,7 +115,7 @@ public class LandcoverTest extends AbstractLayerTest {
|
|||||||
"subclass", "forest",
|
"subclass", "forest",
|
||||||
"class", "wood",
|
"class", "wood",
|
||||||
"_minpixelsize", 8d,
|
"_minpixelsize", 8d,
|
||||||
"_minzoom", 9,
|
"_minzoom", 7,
|
||||||
"_maxzoom", 14
|
"_maxzoom", 14
|
||||||
)), process(polygonFeature(Map.of(
|
)), process(polygonFeature(Map.of(
|
||||||
"landuse", "forest"
|
"landuse", "forest"
|
||||||
|
|||||||
Reference in New Issue
Block a user