[Talk-us] Highway Shield Rendering

Chris Lawrence lordsutch at gmail.com
Tue Apr 3 15:21:04 BST 2012

On Mon, Apr 2, 2012 at 8:25 AM, Phil! Gold <phil_g at pobox.com> wrote:
> Here's something that might be a diversion while you wait for the database
> to allow editing again.
> Richard Weait and I have been working on a rendering that uses route
> relations to make individual shields that reflect what each state uses.
> I've got a working prototype, and I'd like to get some feedback on it.
> The server is a rather slow one sitting at my place behind a slow-ish DSL
> connection, which means that it'll probably range from a little slow to
> very slow indeed.  I'm working on getting some better hosting for it.  If
> you're not yet deterred, I invite you to look at
> http://elrond.aperiodic.net/shields/ .  The code and source files are at
> https://launchpad.net/osm-shields .

Awesome!  I definitely think this is the sort of thing that will bring
in more North American mappers by making the map seem more familiar.

I took a look around Blacksburg and just noted a couple of things
(once all the pink frowny-faces went away):

- Secondaries (network US:VA:secondary) don't seem to be rendering at
all, and the fallback shields aren't showing up even where there are
ref tags (just seems to be using Mapnik style).  Simple rule for VA:
if the ref >= 600, or it has a letter in it, it's a secondary (except
785 and 895, which are signed primary).  1 <= 599 are primary.

- The US 460 business route doesn't seem to be getting shields.

URL for the area:

Also, a more general comment - I think concurrencies might look better
stacked vertically in some circumstances... you'd have to have some
logic about the underlying direction of the way to make that happen,
but vertical stacking would look nicer on N-S ways I think.


Other oddities:

I-26 in TN seems to be missing:

(It also seems to be missing in NC... maybe the relation got
accidentally nuked?  I can't even get the data view at OSM to work at
the moment...)

Similarly, while the 4-way US multiplex over the "old bridge" in
Memphis is rendered fine, I-55 seems to be missing in both AR and TN
(but is OK in MS):

Looks great so far otherwise - keep up the good work!


More information about the Talk-us mailing list