phodgkin
(Phodgkin)
14
leisure=track is a bit of an exception as it has distinct renderings for whether is an area (area=yes) or a linear feature.
BUT that said, I’m now agreeing that leisure=pitch combined with barrier=X is incorrect tagging. It may, strictly speaking, be unambiguous, but combining a linear feature with an area feature is going to cause problems, at least for raster maps using an osm2pgsql import; as I read the import script for Carto, such a feature will be imported into the polygon table (rather than the linear way table) and so will be rendered as leisure=pitch and the barrier=X will be ignored.
TL;DR Use a separate way for barrier and areas.
Yes, in Carto at least, the area will be drawn first, and the barrier=wall will be drawn on top.
1 Like