i found in this post:
CartoCSS layer visibility
a solution to set a layer not visible for some zoom levels.
But in
https://github.com/gravitystorm/openstreetmap-carto
it seems that a minzoom parameter can be set (according to the project.mml file) :
{
"name": "coast-poly",
"srs-name": "900913",
"geometry": "polygon",
"class": "",
"id": "coast-poly",
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
"Datasource": {
"type": "shape",
"file": "data/land-polygons-split-3857/land_polygons.shp"
},
"extent": [
-180,
-85.05112877980659,
180,
85.05112877980659
],
**"properties": {
"minzoom": 10
},**
"advanced": {}
},
But in Tilemill i can't get it working (lines are drawn in red).
What would be the best/fastest solution to manage minzoom & maxzoom for layers in TileMill?
My TileMill output could be Mbtiles or Mapnik files. Does this output strategy have an impact on the solution?