[OSM-talk] Getting highway refs onto the mapnik slippy map layer
Tom Hughes
tom at compton.nu
Thu Oct 4 12:40:50 BST 2007
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.
Tom
--
Tom Hughes (tom at compton.nu)
http://www.compton.nu/
More information about the talk
mailing list