<div dir="ltr">Hi,<div><br></div><div>I recently subscribed to the tile-serving mailing list, as <a href="mailto:kevin.b.kenny@gmail.com">kevin.b.kenny@gmail.com</a>.</div><div><br></div><div>When I attempt to post to the list, I get the attached reply.</div><div><br></div><div>This is the same regardless of whether I use a local SMTP client or Google's web-mail.</div><div><br></div><div>I've tried to contact <a href="mailto:kakrueger@gmail.com">kakrueger@gmail.com</a> about this problem, but have heard nothing.</div><div><br></div><div>Is Gmail blacklisted on this server, or does a user require specific whitelisting beyond simply subscribing in order to be allowed to post?</div><div><br></div><div>Thanks,</div><div><br></div><div>Kevin Kenny<br><br><div class="gmail_quote"><div dir="ltr">---------- Forwarded message ---------<br>From: <strong class="gmail_sendername" dir="auto">Mail Delivery Subsystem</strong> <span dir="ltr"><<a href="mailto:mailer-daemon@googlemail.com">mailer-daemon@googlemail.com</a>></span><br>Date: Wed, Aug 22, 2018 at 5:21 PM<br>Subject: Delivery Status Notification (Failure)<br>To:  <<a href="mailto:kevin.b.kenny@gmail.com">kevin.b.kenny@gmail.com</a>><br></div><br><br>




<div>
<table cellpadding="0" cellspacing="0" class="gmail-m_3764280342904030319email-wrapper" style="padding-top:32px;background-color:rgb(255,255,255)"><tbody>
<tr><td>
<table cellpadding="0" cellspacing="0"><tbody>
<tr><td style="max-width:560px;padding:24px 24px 32px;background-color:rgb(250,250,250);border:1px solid rgb(224,224,224);border-radius:2px">
<img style="padding: 0px 24px 16px 0px; float: left;" width="72" height="72" alt="Error Icon" src="cid:16568c3c962d3f2f3341">
<table style="min-width:272px;padding-top:8px"><tbody>
<tr><td><h2 style="font-size:20px;color:rgb(33,33,33);font-weight:bold;margin:0px">
Message not delivered
</h2></td></tr>
<tr><td style="padding-top:20px;color:rgb(117,117,117);font-size:16px;font-weight:normal;text-align:left">
Your message couldn't be delivered to <a style="color:rgb(33,33,33);text-decoration:none"><b>tile-serving@lists.openstreetmap.org</b></a> because the remote server is misconfigured. See technical details below for more information.
</td></tr>
</tbody></table>
</td></tr>
</tbody></table>
</td></tr>
<tr style="border:none;background-color:rgb(255,255,255);font-size:12.8px;width:90%">
<td align="left" style="padding:48px 10px">
The response was:<br>
<p style="font-family:monospace">
550 relay not permitted
</p>
</td>
</tr>
</tbody></table>
</div>

<br><br><br>---------- Forwarded message ----------<br>From: Kevin Kenny <<a href="mailto:kevin.b.kenny@gmail.com" target="_blank">kevin.b.kenny@gmail.com</a>><br>To: talk-us <<a href="mailto:talk-us@openstreetmap.org" target="_blank">talk-us@openstreetmap.org</a>>, <a href="mailto:tile-serving@lists.openstreetmap.org" target="_blank">tile-serving@lists.openstreetmap.org</a><br>Cc: <br>Bcc: <br>Date: Wed, 22 Aug 2018 17:21:13 -0400<br>Subject: Shaped highway shields - trying to revive<br>(I apologize in advance to the tile-serving community if this message<br>
is inappropriate. I see that traffic on that list is largely limited<br>
to highly specific technical discussions, but couldn't see a more<br>
appropriate forum.)<br>
<br>
For several years now, I've been using the support code for shaped<br>
shields in OSM, originally developed by Phil! Gold and Richard Weait,<br>
to render North American-style maps. A typical example can be found at<br>
<a href="https://kbk.is-a-geek.net/catskills/test4.html?la=41.4143&lo=-74.4233&z=14" rel="noreferrer" target="_blank">https://kbk.is-a-geek.net/catskills/test4.html?la=41.4143&lo=-74.4233&z=14</a><br>
In that view, you can see distinct shields for Interstate, US, New<br>
York, and county routes, and at least one concurrence (New York 17M<br>
aligned with US 6). Incidentally, Phil's is the only renderer that<br>
I've seen that can make sense of cases like West Virginia's bizarre<br>
double route numbers, as seen in<br>
<a href="https://kbk.is-a-geek.net/catskills/test4.html?la=41.4143&lo=-74.4233&z=14" rel="noreferrer" target="_blank">https://kbk.is-a-geek.net/catskills/test4.html?la=41.4143&lo=-74.4233&z=14</a><br>
.<br>
<br>
The visual distinction among highway shields is really necessary in<br>
North America, where there are so many different route networks<br>
overlaid.<br>
<br>
In the course of working with the code, I've made a number of changes<br>
and become seriously out of sync with the main development line, which<br>
appears to be moribund. (Phil! and Richard have not answered recent<br>
queries; I suspect that I have obsolete contact information, but the<br>
messages also have not been returned undelivered.)<br>
<br>
Accordingly, I've (quite reluctantly) created my own repository -<br>
<a href="https://github.com/kennykb/osm-shields" rel="noreferrer" target="_blank">https://github.com/kennykb/osm-shields</a> - with material from the<br>
project. The shield templates to be found there are mostly those of<br>
Phil! (I added only a handful), but the code to manage shields is<br>
almost entirely new. Some significant changes are:<br>
<br>
The list of shields to be rendered is obtained from the database<br>
itself, rather than being predetermined by a configuration file for<br>
each network. This has the disadvantage that refs that are known to be<br>
problematic may be rendered (but in most cases they ought to be<br>
unsigned_ref). On the other hand, it has the distinct advantage that<br>
as mappers continue to create the route relations, the corresponding<br>
shields appear virtually automatically.<br>
<br>
The composition of shield clusters, rather than being handled by a<br>
stored procedure in the database, is done using a GroupSymbolizer in<br>
Mapnik. I suspect, given the dearth of discussion that I find in a<br>
Google query, that I'm the first user to attempt to use<br>
GroupSymbolizer with actual open-ended shield clusters, and therefore<br>
that I've trodden new ground in the path from database to renderer. I<br>
encourage developers who are interested in the GroupSymbolizer to read<br>
at least <a href="https://github.com/kennykb/osm-shields/wiki/Using-the-GroupSymbolizer" rel="noreferrer" target="_blank">https://github.com/kennykb/osm-shields/wiki/Using-the-GroupSymbolizer</a><br>
- it has a number of tricks to structure the results in a way that the<br>
GroupSymbolizer can consume and that renders well. The disadvantage to<br>
using the GroupSymbolizer is that Phil!'s shield clusters were rather<br>
more attractive visually, since they were aligned to lie in the<br>
direction of a way. The advantage is that the current approach can run<br>
on an unpatched Mapnik, as opposed to Phil!'s original, which requires<br>
at least patching Mapnik to use a read/write connection to the<br>
database.<br>
<br>
Managing, reliably, the association between ways and the routes in<br>
which they participate requires a couple of database tables that a<br>
stock osm2pgsql does not produce. I would very much appreciate any<br>
commentary from developers of osm2pgsql and Mapnik, particularly,<br>
about the issues discussed in<br>
<a href="https://github.com/kennykb/osm-shields/wiki/Maintaining-the-association-between-ways-and-routes" rel="noreferrer" target="_blank">https://github.com/kennykb/osm-shields/wiki/Maintaining-the-association-between-ways-and-routes</a><br>
What I'm currently doing works well for my own use, which is driven by<br>
daily updates to extracts at Geofabrik, but will obviously not scale<br>
to a whole planet and minutely updates.<br>
<br>
Finally, I'd really like to invite anyone with the necessary SVG<br>
skills to contribute shield graphics for the missing networks. If<br>
you're also a programmer and want to take a whack at the rest of the<br>
procedure in <a href="https://github.com/kennykb/osm-shields/wiki/Adding-new-networks" rel="noreferrer" target="_blank">https://github.com/kennykb/osm-shields/wiki/Adding-new-networks</a>,<br>
and g<br>
----- Message truncated -----<br>
</div></div></div>