[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:
http://elrond.aperiodic.net/shields/?zoom=14&lat=37.19755&lon=-80.40427&layers=B0

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.

Compare:
http://elrond.aperiodic.net/shields/?zoom=14&lat=37.13887&lon=-80.34525&layers=B0
and
http://elrond.aperiodic.net/shields/?zoom=14&lat=37.19653&lon=-80.22878&layers=B0

Other oddities:

I-26 in TN seems to be missing:
http://elrond.aperiodic.net/shields/?zoom=11&lat=36.35713&lon=-82.42503&layers=B0

(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):
http://elrond.aperiodic.net/shields/?zoom=14&lat=35.1354&lon=-90.07954&layers=B0

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


Chris



More information about the Talk-us mailing list