On 12/08/2025 17:48, SK53 wrote:
There are no style rules in the Standard Style to handle this kind if
situation (just using Layer tags). The rules multiply like mad just
for road bridges (think a large motorway junction), and this acts as a
real constraint for non-road things because of the way database
queries and sryle rules are organised.
Indeed - it's a problem for all map styles, even with a "clean slate" at
the level of the schema**. I believe that the OSM Americana project is
working with one of the main vector style languages to try and make the
"multiple layer road bridge" problem less manual to solve. However:
On Tue, 12 Aug 2025, 16:35 Andy Mabbett, <[email protected]> wrote:
This "layer 1" bridge over Heath Street in Sandwell, West Midlands:
https://www.openstreetmap.org/way/1020951238
shows on the map:
https://www.openstreetmap.org/?mlat=52.492009&mlon=-1.946935#map=19/52.492009/-1.946935
<https://www.openstreetmap.org/?mlat=52.492009&mlon=-1.946935#map=19/52.492009/-1.946935>
buildings overlapping roads is slightly different - it's possible to add
some visual cues to try and give people an idea what is going on.
Here's Heath Street in OSM Americana:
https://americanamap.org/#map=19/52.491999/-1.947217
and in a couple of my map styles (one using OSMF's shortbread vector
tiles, one using a different schema):
https://map.atownsend.org.uk/vector/index_svwd03.html#19/52.491999/-1.947217
https://map.atownsend.org.uk/vector/index.html#19/52.491999/-1.947217
and here's St James's Street in Nottingham:
https://americanamap.org/#map=19/52.9522674/-1.1537919
https://map.atownsend.org.uk/vector/index_svwd03.html#20/52.9521516/-1.1537341
https://map.atownsend.org.uk/vector/index.html#19/52.9522674/-1.1537919
This approach to buildings and roads isn't "win win" - you can see the
disadvantage of doing that at Leeds Station:
https://map.atownsend.org.uk/vector/index.html#17.1/53.79427/-1.548048
Best Regards,
Andy
** This word often describes the contents of vector tiles that a vector
map style uses but you can do much the same with raster tiles too - what
is in the rendering database does not have to match exactly what is OSM
in terms of tags.
_______________________________________________
Talk-GB mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/talk-gb