<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 22/04/2017 20:43, Elizabeth Oldham
wrote:<br>
</div>
<blockquote
cite="mid:1277cc13-2081-2768-76e7-484719116967@the-hug.org"
type="cite"><br>
Anyway. I noticed on your maps you have multiple ldpnwn labels
along the routes, like the Cumbria Way, and Coast to Coast. I've
been unable to get more than one or two labels. I've been
searching but it's usually the other way around - you have too
many labels and need to space them out. Is there a trick I'm
missing?
</blockquote>
<br>
I may have got hold of completely the wrong end of the stick here,
but assuming I understand the question properly, I think you're
asking how two names appear for trails at e.g.
<a class="moz-txt-link-freetext" href="https://map.atownsend.org.uk/maps/map/map.html#zoom=14&lat=53.14563&lon=-1.75507">https://map.atownsend.org.uk/maps/map/map.html#zoom=14&lat=53.14563&lon=-1.75507</a>
?<br>
<br>
What's happening is that at
<a class="moz-txt-link-freetext" href="https://github.com/SomeoneElseOSM/SomeoneElse-style/blob/master/style.lua#L2320">https://github.com/SomeoneElseOSM/SomeoneElse-style/blob/master/style.lua#L2320</a>
a "highway=<span class="pl-s">ldpnwn"</span> tag is being added for
each relation, and then at
<a class="moz-txt-link-freetext" href="https://github.com/SomeoneElseOSM/openstreetmap-carto-AJT/blob/master/roads.mss#L1705">https://github.com/SomeoneElseOSM/openstreetmap-carto-AJT/blob/master/roads.mss#L1705</a>
the purple dots are added, and at
<a class="moz-txt-link-freetext" href="https://github.com/SomeoneElseOSM/openstreetmap-carto-AJT/blob/master/roads.mss#L3088">https://github.com/SomeoneElseOSM/openstreetmap-carto-AJT/blob/master/roads.mss#L3088</a>
the text-spacing defines how far apart the labels go.<br>
<br>
Because they are "just highways that happen to overlap each other"
as far as Mapnik is concerned, it makes sure that the names don't
overlap on the map. I wrote a diary entry at
<a class="moz-txt-link-freetext" href="http://www.openstreetmap.org/user/SomeoneElse/diary/38988">http://www.openstreetmap.org/user/SomeoneElse/diary/38988</a> about it.<br>
<br>
Best Regards,<br>
<br>
Andy<br>
<br>
<br>
</body>
</html>