Now serving Shortbread 1.1 tiles

The OSMF vector tile service is now serving Shortbread 1.1 tiles. They’re at the same URL, https://vector.openstreetmap.org/shortbread_v1/tilejson.json. The Shortbread 1.1 spec adds a couple of key changes, most importantly with multilingual names and access tags for multiple modes.

All features with a name field will include names multiple languages in the name_xx fields (e.g. name_zh, name_en, name_de, name_ja-Hira). Different implementations can include different languages but the OSMF service includes all languages used more than 50 times in OpenStreetMap. This is a list of about 500 languages. I look forwards to seeing what users can do with this. The style writer is responsible for defining what names to use. See Vector Tile Schema 1.1 – Shortbread for the spec details.

Access controls on highway features are now included. These are in the motorcar, bicycle, foot, and horse attributes. If there are relevant access tags on the OSM object the attribute will have a value of yes, no, or limited. You can read what access tags map to each value in the spec

If anyone wants to talk about Shortbread I’m heading to SOTM in Paris right now and can meet with people at the conference.

20 Likes

For a moment the alignment was a bit wonky, with Shortbread being off by a few hundred metres, whereas all the others aligned quite well. Also, some of the Shortbread map didn’t load until Ctrl+F5.

The Ctrl+F5 also fixed the alignment.

That sounds like a webpage or maplibre bug and is not connected to the tiles.

2 Likes

You’re most likely experiencing this issue:

2 Likes

Should new features in the schema show up immediately? As an example, waterway=drain is now in the schema, but this drain does not seem to be in the tiles. That’s a debug style showing all water_lines as blue:

{
    "id": "water_lines-12",
    "type": "line",
    "source": "someoneelse",
    "source-layer": "water_lines",
    "minzoom": 12,
    "paint": {
	"line-color": "blue",
	"line-width": {
	    "base": 3.6,
	    "stops": [
		[ 15,  3.6 ],
		[ 20,  10.8 ]
	    ]
	}
    }
},