We’ve implemented a map server using OSM data and a custom layer which we overlay over the top to display canal maps on our website
It’s all working well but there are a lot of missing icons being reported.
Image "brownfield_11" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.
Image "toilets_11" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.
Image "stile_11" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.
And so on
The icon set we have does not have these in and openstreetmap-carto doesn’t seem to have most of them either (ignoring the _11).
Does anyone know where we can get these missing icons - the OSM data is referring to them so I guess they must exist somewhere.
Can you provide a bit more information to add to “We’ve implemented a map server using OSM data and a custom layer” - is the map style available anywhere for people to look at?
This basically shows the OSM map with the canal map over the top of it.
On the main site the maps are rendered as part of a page.
Openmap data turned into tile sets using openmaptiles (https://github.com/openmaptiles/openmaptiles)
Our tilesets created using tippecanoe 1.35
Sprite set created using spritezero
Tiles served using tileserver.php ( https://github.com/klokantech/tileserver-php/ )
Maps rendered by mapboxGL 1.5
Style is the openstreetmap OSM-Bright which has the icons defined as “icon-image”: “{class}_11”
Moving round the map and zooming in and out comes up with the following list of missing icons
Looking at the issues list there, your problem seems to be https://github.com/openmaptiles/osm-bright-gl-style/issues/47, as you already appear to have found. For the avoidance of doubt, OpenMapTiles’ “OSM Bright” style is completely unrelated to OSM Carto - it uses a completely different technology (vector vs raster tiles).
But aren’t the icons defined in the mbtiles set ? brownfield_11 only appeared since I rebuilt the uk mbtiles last month. So that would suggest that brownfield is defined as an icon in the tiles.
So what I’m trying to find out is where I’d find the icons for brownfield etc.? Obviously they’re not in OSM Bright, or OSM Carto… but must exist somewhere I assume. I asked in here because I hoped someone might be able to help.