[Talk-us] While we're fixing things in iterations

Minh Nguyen minh at nguyen.cincinnati.oh.us
Thu Sep 24 10:02:32 UTC 2020


Vào lúc 15:56 2020-09-23, Andy Townsend đã viết:
> I'm actually surprised that someone associated with the OSM US community 
> hasn't created a proof-of-concept "good US road route rendering" variant 
> of the OSM Carto style on a live server that people can use for 
> reference (I'm guessing ongoing server costs wouldn't be huge - a couple 
> of $ a day at one of the cheaper hosters).  Of the issues above (1) you 
> can ignore in a proof of concept (or deal with some of the edge cases), 
> (2) isn't an issue if you're just rendering the US and (3) isn't a 
> problem if you can live with downtime at the occasional reload (or have 
> two databases - one live, one available to be reloaded if you can't).

In 2012, Phil Gold and Richard Weait developed a "shield renderer" and 
set it up on an OSMUS server. [1] The renderer not only eschewed way 
refs in favor of route relations but also used the network=*, ref=*, and 
modifier=* keys to choose accurate shields consistent with road signage 
-- not a small feat for the U.S.

It was something of a proof of concept, apparently taking an approach to 
processing the relations and generating shields that would've been a 
nonstarter for the openstreetmap-carto project. The project did get 
pretty far in terms of supporting not only state-specific shield designs 
but even plenty of county-specific shield designs and some one-off 
shields. [2] However, the server isn't maintained. It ran out of disk 
space, so it hasn't kept up with OSM planet updates.

More recently, Kevin Kenny reimplemented the shield renderer using a 
more robust approach [3] and has discussed route relation support with 
the openstreetmap-carto developers. [4]

OSMUS is interested in offering an Americentric renderer replete with 
shields. If anyone would like to help with the server situation, let's 
get in touch. Also I'm sure Kevin would welcome any pull requests to his 
osm-shields project, which would probably be a good starting point for 
this renderer if we go with Mapnik and raster tiles.

[1] http://elrond.aperiodic.net/shields/
[2] https://bugs.launchpad.net/osm-shields/
[3] https://github.com/kennykb/osm-shields/
[4] https://github.com/gravitystorm/openstreetmap-carto/issues/596

-- 
minh at nguyen.cincinnati.oh.us
minh at openstreetmap.us




More information about the Talk-us mailing list