[OSM-talk] Getting highway refs onto the mapnik slippy map layer
gravitystorm at gmail.com
Fri Oct 5 00:24:00 BST 2007
On 10/4/07, Tom Hughes <tom at compton.nu> wrote:
> In message <3c035a7629b7390fd0fe48cc1a16f3d1 at acrewoods.net>
> Tom Chance <tom at acrewoods.net> wrote:
> > Looking at osm.xml I assume it just needs some shield pngs in the matching
> > colours and a few new lines like so:
> > <Rule>
> > <Filter>[highway] = 'trunk' and [length] = 2</Filter>
> > <MaxScaleDenominator>500000</MaxScaleDenominator>
> > <MinScaleDenominator>100</MinScaleDenominator>
> > <ShieldSymbolizer name="ref" face_name="DejaVu Sans Bold" size="11"
> > fill="#809bc0" placement="line" file="/home/steve/symbols/trunk_shield.png"
> > type="png" width="24" height="17" min_distance="100"/>
> > </Rule>
> > Perhaps with different scale denominators (haven't read up on the full spec
> > yet). If I make the PNGs and the rules for all the shields can somebody
> > check & commit the new lines to SVN? It would make me much happier looking
> > around south London to see British A & B road numbers on there!
> I was going to fix this the other day, but I couldn't find the source
> for the shield images to produce new ones in different colours.
I just took the existing motorway shield and filled with different
colours for the cycle shields. Works well enough for me.
More information about the talk