openmaptiles / osm-bright-gl-style

OSM Bright GL Style using OpenMapTiles
https://openmaptiles.github.io/osm-bright-gl-style/
Other
188 stars 120 forks source link

Usage of non existing minor_road class of transportation #42

Closed frodrigo closed 3 years ago

frodrigo commented 3 years ago

The tunnel-minor layer use a filter on class minor_road. But this class does not exist on OMT. So the layer tunnel-minor render nothing.

The style look like this

image

  1. Applying the same style as trunk...tertiary done this:

image

{
  "id": "tunnel-minor",
  "type": "line",
  "metadata": {
    "mapbox:group": "1444849354174.1904"
  },
  "source": "openmaptiles",
  "source-layer": "transportation",
  "filter": [
    "all",
    ["==", "brunnel", "tunnel"],
    ["==", "class", "minor"]
  ],
  "layout": {"line-join": "round"},
  "paint": {
    "line-color": "#fff",
    "line-opacity": 1,
    "line-width": {
      "base": 1.2,
      "stops": [
        [13.5, 0],
        [14, 2.5],
        [20, 11.5]
      ]
    }
  }
}

Round casing cannot be removed.