{
  "version": 8,
  "sources": {
    "uso": {
      "type": "vector",
      "tiles": [
        "https://wmts.mapama.gob.es/sig/tiles/MapaCultivos2000-2010/{z}/{x}/{y}"
      ],
      "minzoom": 4,
      "maxzoom": 19,
      "minZoom": 4,
      "maxZoom": 19
    }
  },
  "layers": [
    {
      "id": "regadio",
      "type": "fill",
      "source": "uso",
      "source-layer": "MapaCultivos20002010",
      "filter": [
        "==",
        "Cod. Uso",
        1
      ],
      "paint": {
        "fill-color": "#4ce600"
      }
    },
    {
      "id": "labor_secano",
      "type": "fill",
      "source": "uso",
      "source-layer": "MapaCultivos20002010",
      "filter": [
        "==",
        "Cod. Uso",
        2
      ],
      "paint": {
        "fill-color": "#c46200"
      }
    },
    {
      "id": "frutales_en_secano",
      "type": "fill",
      "source": "uso",
      "source-layer": "MapaCultivos20002010",
      "filter": [
        "==",
        "Cod. Uso",
        3
      ],
      "paint": {
        "fill-color": "#ffaa00"
      }
    },
    {
      "id": "olivar_en_secano",
      "type": "fill",
      "source": "uso",
      "source-layer": "MapaCultivos20002010",
      "filter": [
        "==",
        "Cod. Uso",
        4
      ],
      "paint": {
        "fill-color": "#b4f0a1"
      }
    },
    {
      "id": "vinedo_en_secano",
      "type": "fill",
      "source": "uso",
      "source-layer": "MapaCultivos20002010",
      "filter": [
        "==",
        "Cod. Uso",
        5
      ],
      "paint": {
        "fill-color": "#a15a8d"
      }
    },
    {
      "id": "asociacion_vinedo_olivar",
      "type": "fill",
      "source": "uso",
      "source-layer": "MapaCultivos20002010",
      "filter": [
        "==",
        "Cod. Uso",
        6
      ],
      "paint": {
        "fill-color": "#bfbf8a"
      }
    },
    {
      "id": "prados_naturales",
      "type": "fill",
      "source": "uso",
      "source-layer": "MapaCultivos20002010",
      "filter": [
        "==",
        "Cod. Uso",
        7
      ],
      "paint": {
        "fill-color": "#c8ff12"
      }
    },
    {
      "id": "pastizal",
      "type": "fill",
      "source": "uso",
      "source-layer": "MapaCultivos20002010",
      "filter": [
        "==",
        "Cod. Uso",
        8
      ],
      "paint": {
        "fill-color": "#e9ff59"
      }
    },
    {
      "id": "matorral",
      "type": "fill",
      "source": "uso",
      "source-layer": "MapaCultivos20002010",
      "filter": [
        "==",
        "Cod. Uso",
        9
      ],
      "paint": {
        "fill-color": "#2bc23d"
      }
    },
    {
      "id": "pastizal_matorral",
      "type": "fill",
      "source": "uso",
      "source-layer": "MapaCultivos20002010",
      "filter": [
        "==",
        "Cod. Uso",
        10
      ],
      "paint": {
        "fill-color": "#96ffa1"
      }
    },
    {
      "id": "coniferas",
      "type": "fill",
      "source": "uso",
      "source-layer": "MapaCultivos20002010",
      "filter": [
        "==",
        "Cod. Uso",
        11
      ],
      "paint": {
        "fill-color": "#43750d"
      }
    },
    {
      "id": "chopo_y_alamo",
      "type": "fill",
      "source": "uso",
      "source-layer": "MapaCultivos20002010",
      "filter": [
        "==",
        "Cod. Uso",
        12
      ],
      "paint": {
        "fill-color": "#8a8a46"
      }
    },
    {
      "id": "eucalipto",
      "type": "fill",
      "source": "uso",
      "source-layer": "MapaCultivos20002010",
      "filter": [
        "==",
        "Cod. Uso",
        13
      ],
      "paint": {
        "fill-color": "#fa91ef"
      }
    },
    {
      "id": "otras_frondosas",
      "type": "fill",
      "source": "uso",
      "source-layer": "MapaCultivos20002010",
      "filter": [
        "==",
        "Cod. Uso",
        14
      ],
      "paint": {
        "fill-color": "#ed6605"
      }
    },
    {
      "id": "asociacion_coniferas_eucalipto",
      "type": "fill",
      "source": "uso",
      "source-layer": "MapaCultivos20002010",
      "filter": [
        "==",
        "Cod. Uso",
        15
      ],
      "paint": {
        "fill-color": "#a866cc"
      }
    },
    {
      "id": "asociacion_coniferas_otras_frondosas",
      "type": "fill",
      "source": "uso",
      "source-layer": "MapaCultivos20002010",
      "filter": [
        "==",
        "Cod. Uso",
        16
      ],
      "paint": {
        "fill-color": "#7d5300"
      }
    },
    {
      "id": "improductivo",
      "type": "fill",
      "source": "uso",
      "source-layer": "MapaCultivos20002010",
      "filter": [
        "==",
        "Cod. Uso",
        17
      ],
      "paint": {
        "fill-color": "#ffffbf"
      }
    },
    {
      "id": "improductivo_agua",
      "type": "fill",
      "source": "uso",
      "source-layer": "MapaCultivos20002010",
      "filter": [
        "==",
        "Cod. Uso",
        18
      ],
      "paint": {
        "fill-color": "#e4fcb6"
      }
    },
    {
      "id": "asociacion_vinedo_frutales",
      "type": "fill",
      "source": "uso",
      "source-layer": "MapaCultivos20002010",
      "filter": [
        "==",
        "Cod. Uso",
        19
      ],
      "paint": {
        "fill-color": "#a8a800"
      }
    }
  ]
}