{
  "version": 8,
  "name": "btn_construcciones",
  "sources": {
      "BTN_Vtiles": {
        "type": "vector",
        "attribution": "Instituto Geográfico Nacional",
        "tiles": ["http://10.67.33.37:7802/datos/vtiles_btn/p12/tile/{z}/{y}/{x}.pbf"],
        "minZoom": 0,
        "maxZoom": 14,
        "minzoom": 0,
        "maxzoom": 16
      },
      "raster_dem": {
        "type": "raster-dem",
        "tiles": ["https://xyz-mdt.idee.es/1.0.0/raster-dem/{z}/{x}/{y}.png"],
        "minzoom": 0,
        "maxzoom": 14
      }
    },
    "sprite": "http://10.67.33.37:7802/datos/vtiles_btn/p12/resources/sprites/sprite",
    "glyphs": "http://10.67.33.37:7802/datos/vtiles_btn/p12/resources/fonts/{fontstack}/{range}.pbf",
  "layers": [
    {
        "id": "0201l_cur_niv_MAE",
        "type": "line",
        "source": "BTN_Vtiles",
        "source-layer": "btn0201l_cur_niv",
        "minzoom": 13,
        "filter": [
          "all",
          ["==", "categ_0201", "02 MAESTRA"],
          ["!=", "tipo_0201", "04 BATIMÉTRICA"]
        ],
        "paint": {
          "line-color": {
            "stops": [[13, "rgba(144, 50, 0, 0.3)"], [19, "rgba(144, 50, 0, 1)"]]
          },
          "line-width": {"stops": [[1, 1], [15, 1], [20, 2]]},
          "line-opacity": {"stops": [[13, 0.5], [15, 1]]}
        }
      },
      {
        "id": "0201l_cur_niv_NOR/AUX",
        "type": "line",
        "source": "BTN_Vtiles",
        "source-layer": "btn0201l_cur_niv",
        "minzoom": 15,
        "filter": ["all", ["!=", "categ_0201", "02 MAESTRA"]],
        "paint": {
          "line-color": {
            "stops": [[14, "rgba(144, 50, 0, 0.3)"], [19, "rgba(144, 50, 0, 1)"]]
          },
          "line-width": {"stops": [[14, 0.2], [19, 1]]}
        }
      },
      {
        "id": "ETI_0201l_02-MAE",
        "type": "symbol",
        "source": "BTN_Vtiles",
        "source-layer": "btn0201l_cur_niv",
        "minzoom": 15,
        "filter": ["all", ["==", "categ_0201", "02 MAESTRA"]],
        "layout": {
          "text-font": ["Roboto Light"],
          "text-field": "{cota_0201}",
          "text-max-angle": 10,
          "symbol-placement": "line",
          "symbol-spacing": 300,
          "text-size": {"stops": [[15, 7], [18, 12]]}
        },
        "paint": {
          "text-color": "rgba(90, 35, 1, 1)",
          "text-halo-color": "rgba(255, 255, 255, 1)",
          "text-halo-width": 2,
          "text-translate": [-1, 0]
        }
      },
      {
        "id": "ETI_0204p",
        "type": "symbol",
        "source": "BTN_Vtiles",
        "source-layer": "btn0204p_pun_aco",
        "minzoom": 15,
        "layout": {
          "text-font": ["Roboto Light"],
          "text-size": 11,
          "icon-image": "ETI_P_ACO",
          "icon-size": {"stops": [[15, 0.3], [17, 0.7]]},
          "text-field": {"stops": [[15, ""], [17, "{_name}"]]},
          "text-offset": [0, 2],
          "icon-padding": {"stops": [[15, 50], [17, 0]]},
          "text-optional": false,
          "icon-ignore-placement": false,
          "icon-allow-overlap": false
        },
        "paint": {
          "text-color": "rgba(96, 27, 2, 1)",
          "text-halo-width": 1.5,
          "text-halo-color": "rgba(255, 255, 255, 1)"
        }
      }
  ],
  "id": "btn"
}