[Talk-us] Highway ref on way or relation?
Clay Smalley
claysmalley at gmail.com
Tue Jul 5 11:27:06 UTC 2022
On Tue, Jul 5, 2022 at 6:31 AM Eric H. Christensen via Talk-us <
talk-us at openstreetmap.org> wrote:
> It appears that the rendering engine for OSM.org is not looking at ref
> tags in the relations at all and only what is set on the way. Is this
> expected behavior?
Yes. OpenStreetMap-Carto, the "Standard" map style on the OSM website, only
processes ref tags on ways and ignores relations.
OpenStreetMap-Americana [1] [2] is a work in progress that processes ref
tags on relations instead.
> The wiki seems to suggest[0] that multiple refs should be maintained using
> relations. What am I missing here?
>
Relations are the best way to model multiple overlapping routes, though
many renderers ignore them in favor of displaying the ref tag from the way.
So as long as different renderers are using refs from both the relation and
the way, we have to maintain both.
[1] https://github.com/ZeLonewolf/openstreetmap-americana
[2] https://zelonewolf.github.io/openstreetmap-americana/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-us/attachments/20220705/a79ac979/attachment.htm>
More information about the Talk-us
mailing list